Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

code-check/cli-template-python3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI template for Python

This is template app for CLI test.
You can make console application by editing app/app.py

This uses argparse module.. See detail in argparse document.

How to get input parameters

app.py has a function main

def main(args, options):

All parameters are passed as args array

If you want to use option parameter, you can use parser.add_argument for your own option in cli.py

How to output result

You can use print method

  print(v)

How to install external libraries

If you want to use external libraries, please do following

  • Write library name and version in requirements.txt
  • Add following section to codecheck.yml
build:
  - pip3 install -r requirements.txt

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •