add sndev status

This commit is contained in:
keyan 2024-03-10 17:10:38 -05:00
parent 4ce413af6f
commit 8cddbe74ff
1 changed files with 6 additions and 0 deletions

6
sndev
View File

@ -38,6 +38,11 @@ sndev__stop() {
docker__compose down
}
sndev__status() {
shift
docker__compose ps --format 'table {{.Service}}\t{{.State}}\t{{.Status}}\t{{.Ports}}'
}
sndev__delete() {
echo "Deleting application"
docker__compose down --volumes --remove-orphans
@ -77,6 +82,7 @@ USAGE
COMMANDS
start start env
stop stop env
status status of env
delete delete env
fund pay a bolt11 for funding
withdraw make a bolt11 for withdrawal