mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Merge branch 'main' into 'main'
fix: Make `command` required Closes #122 See merge request jwestman/blueprint-compiler!135
This commit is contained in:
commit
539ed5d4df
1 changed files with 1 additions and 2 deletions
|
@ -39,8 +39,7 @@ LIBDIR = None
|
|||
class BlueprintApp:
|
||||
def main(self):
|
||||
self.parser = argparse.ArgumentParser()
|
||||
self.subparsers = self.parser.add_subparsers(metavar="command")
|
||||
self.parser.set_defaults(func=self.cmd_help)
|
||||
self.subparsers = self.parser.add_subparsers(metavar="command", required=True)
|
||||
|
||||
compile = self.add_subcommand(
|
||||
"compile", "Compile blueprint files", self.cmd_compile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue