From 8ac60ffd93627ba4c337b6ebf4a6d49583d34c89 Mon Sep 17 00:00:00 2001 From: Alessandro Mazzoli Date: Tue, 27 Jul 2021 00:44:09 +0200 Subject: [PATCH] changed snapcraft.yaml --- main.py | 4 ---- snapcraft.yaml | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index d169fd0..09fdf91 100755 --- a/main.py +++ b/main.py @@ -4,10 +4,6 @@ if __name__ == '__main__': args = parser.parse_arguments() - - if not args.packages: - parser.print_help() - exit() command = get_command(args.command) packages = args.packages diff --git a/snapcraft.yaml b/snapcraft.yaml index 7ce2998..aa50238 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -16,4 +16,5 @@ parts: apps: yap: command: main.py - aliases: [yap] \ No newline at end of file + yapm: + command: main.py \ No newline at end of file