Skip to content
Advertisement

Tag: command-line-interface

collecting CLI usage data with python click

I’m a platform engineer building a python CLI app (using click) that teams in the same company could use to launch data processing jobs on our internally managed cluster. I want to build a functionality to collect usage data i.e., record the commands submitted to the app and store them in a database. Something like this: Is it possible? Is

How can I setup a python CLI application so that I can use it without directly referring to the interpreter?

I want to build an application, say it’s called helloworld, with a command line interface in python. My application as multiple nested modules and a top level module main.py. Say the layout is : At this point, once my project is installed I can run it using #> python path/to/helloworld/main.py arg1 arg2 arg3 I want to be able to interact

Advertisement