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

Extend CLI interface. #2

Closed
cedws opened this issue Feb 23, 2019 · 1 comment
Closed

Extend CLI interface. #2

cedws opened this issue Feb 23, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@cedws
Copy link
Owner

cedws commented Feb 23, 2019

The script currently just does a partial and then tries full deletion (if a messages directory exists).

This is for obvious reasons pretty terrible. I would like to extend the script to have partial and full deletion subcommands, along with various other parameters.

I'll probably use argparse for this.

One other thing - the script currently requires being passed a DISCORD_TOKEN variable that will be logged to .bash_history or some equivalent depending on OS/shell. This is not ideal, so I would like to try and find another way for the user to pass this token.

@cedws cedws added the enhancement New feature or request label Feb 23, 2019
@cedws
Copy link
Owner Author

cedws commented Mar 5, 2019

Completed in e5f6e4d.

@cedws cedws closed this as completed Mar 5, 2019
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

No branches or pull requests

1 participant