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

CLI-like interface #8

Open
BuriedStPatrick opened this issue Apr 2, 2022 · 0 comments · May be fixed by #11
Open

CLI-like interface #8

BuriedStPatrick opened this issue Apr 2, 2022 · 0 comments · May be fixed by #11
Labels
enhancement New feature or request
Milestone

Comments

@BuriedStPatrick
Copy link
Owner

It would be nice with a CLI-interface for managing the profile.

Some ideas:

# Print help, version, etc
profile --help
profile --version

# Self-update PWSH profile git repo
profile update

# Reload current profile
profile reload

# Configure aliases for the CLI
profile alias add --name <name>
profile alias remove --name <name>

# Configure PATHs into the config
profile config paths add <path>
profile config paths remove <path>

# Edit user-config in default $EDITOR (`Edit-UserConfig`)
profile config edit

ArgParser can be used to parse arguments:
https://github.com/BuriedStPatrick/ArgParser

@BuriedStPatrick BuriedStPatrick added the enhancement New feature or request label Apr 2, 2022
@BuriedStPatrick BuriedStPatrick added this to the v2.0 milestone Apr 11, 2022
@BuriedStPatrick BuriedStPatrick linked a pull request Apr 11, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant