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

Command line tools should have an internal call option for Python interactive mode. #47

Open
cjcodeproj opened this issue Sep 3, 2022 · 2 comments
Labels
code refactor Code cleanup enhancement New feature or request

Comments

@cjcodeproj
Copy link
Owner

cjcodeproj commented Sep 3, 2022

All of the command line tools should be slightly refactored to be callable from the Python CLI, as closely as possible to how it would be called from the shell.

For example, this call:

python -m media.tools.movies.list --sort runtime

Should be usable in the Python shell as:

>>> media.tools.movies.list.list(repo_object, sort=runtime)

This will take a little bit of investigation and testing.

Every command line option flag available should be replicated in interactive mode.

Documentation should be enhanced to show calling invocation of the functions, both external documentation and pydoc.

@cjcodeproj cjcodeproj added enhancement New feature or request code refactor Code cleanup labels Sep 3, 2022
@cjcodeproj
Copy link
Owner Author

Notes

First instance of building a command line level tool that was installed by the Pip installer. cjcodeproj/musicscan#49

@cjcodeproj
Copy link
Owner Author

See completed tickets:

#186
#161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code refactor Code cleanup enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant