playnano.cli.entrypoint module¶
Entry point for the playNano CLI.
- playnano.cli.entrypoint.main() None[source]¶
Parse command-line arguments and dispatch to the appropriate CLI subcommand.
This function sets up the top-level argparse parser, configures logging, and then calls the appropriate handler function (handle_play, handle_process, handle_analyze, or handle_processing_wizard) based on the chosen subcommand.
Set up argument parsing for ‘play’, ‘process’ and ‘wizard’ subcommands,
each with their own options. - Configure logging level based on user input. - Show help and exit if no subcommand is provided. - Call the handler function associated with the chosen subcommand.
- Usage:
- playnano play <input_file> [–processing …] [–output-folder …]
[–output-name …] [–scale-bar-nm …] [–channel …]
- playnano process <input_file> [–processing …] [–export …] [–make-gif]
[–output-folder …] [–output-name …] [–scale-bar-nm …] [–channel …]
- playnano analyze <input_file> [–analysis-steps … | –analysis-file …]
[–output-folder …] [–output-name …] [–channel …]
- playnano wizard <input_file> [–channel …] [–scale-bar-nm …]
[–output-folder …] [–output-name …]
- Return type:
None