Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launching commands (Argument Parser) #30

Open
Geson-anko opened this issue Apr 25, 2022 · 0 comments
Open

Launching commands (Argument Parser) #30

Geson-anko opened this issue Apr 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Geson-anko
Copy link
Owner

Geson-anko commented Apr 25, 2022

Launching commands

  • Basic format.
    python -m JarvisEngine command --args

  • Launching commands.

    • create
      Create a JarvisEngine project at the directory.

    • run
      Run your project by JarvisEngine.

args

  • Always.

    • -ll, --log_level
      Ex. -ll=DEBUG, --log_level INFO
      Please choose one of the options below.

      • DEBUG (default)
        The lowest log level. Engine displays all messages.
        If you want to log at the DEBUG level, you can use self.logger.debug.

      • INFO
        Engine displays log messages over the INFO level.

      • WARNING

      • ERROR

      • CRITICAL

  • At create
    python -m JarvisEngine create --args

    • arguments
      • -n, --name (required)
        Your JarvisEngine project name.
        If -n=./, then the folders and files needed for the project are generated in current directory.
  • At run
    python -m JarvisEngine run --args

    • arguments
      • -d, --project_dir
        Engine runs at the directory. The default value is ./ .

Originally posted by @Geson-anko in #28 (comment)

@Geson-anko Geson-anko changed the title ### Launching commands Launching commands Apr 25, 2022
@Geson-anko Geson-anko added the enhancement New feature or request label Apr 25, 2022
@Geson-anko Geson-anko changed the title Launching commands Launching commands (Argument Parser) May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant