Skip to content

Commit

Permalink
remove gn
Browse files Browse the repository at this point in the history
  • Loading branch information
tensorturtle committed Nov 14, 2024
1 parent ad534d3 commit a44712f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dev_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ "$OS" = "Darwin" ]; then

# Clean up
echo "Cleaning up..."
rm -r __init__.dist __init__.build __init__.onefile-build
rm -r __init__.dist __init__.build __init__.onefile-build fob

echo "Installation complete. The 'fob' command is now available. If not, please check that $DEST_PATH is in your PATH environment variable."
else
Expand Down
1 change: 0 additions & 1 deletion src/fob/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def run_app():
subparsers.add_parser(
"gm", help="Start a new day by selecting the blocks you will work on today"
)
subparsers.add_parser("gn", help="Say good night")
subparsers.add_parser("reset", help="Reset fob by deleting persistent database file.")
subparsers.add_parser("sup", help="Quick look at the month and today's blocks")

Expand Down
1 change: 0 additions & 1 deletion src/fob/commands/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from fob.commands.help import help
from fob.commands.gm import gm
from fob.commands.gn import gn
from fob.commands.sup import sup
from fob.commands.new_month import new_month
from fob.commands.reset import reset
5 changes: 0 additions & 5 deletions src/fob/commands/gn.py

This file was deleted.

3 changes: 1 addition & 2 deletions src/fob/commands/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ def help(args: Namespace | None, db: TinyDBWrapper | None) -> None:
[cyan bold]new_month[/cyan bold] Allocate blocks for a new month
[cyan bold]gm[/cyan bold] Start a new day by selecting the blocks you will work on today.
[cyan bold]sup[/cyan bold] Quick look at the month and today's blocks
[cyan bold]gn[/cyan bold] Say good night
[cyan bold]reset[/cyan bold] Delete persistent database file.
[green bold]Global Options:[/green bold]
[cyan bold]-d, --database[/cyan bold] [magenta not bold]<PATH_TO_DB_FILE>[/magenta not bold] Path to database file.
[cyan bold]-d, --database[/cyan bold] [magenta not bold]<PATH_TO_DB_FILE>[/magenta not bold] Path to database file. You can use a cloud storage (eg. Dropbox) to sync the database across devices.
[cyan bold]-x, --debug[/cyan bold] Enable debug mode.
""")

0 comments on commit a44712f

Please sign in to comment.