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

Add CLI Interface #7

Closed
Shynixn opened this issue May 4, 2018 · 0 comments
Closed

Add CLI Interface #7

Shynixn opened this issue May 4, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request
Projects

Comments

@Shynixn
Copy link
Collaborator

Shynixn commented May 4, 2018

TODOS:

  • Carefully think about what kind of requirements we need
  • Implement it in the main.py file

Some sample requirements are:

  • Converting multiple images
  • Converting folders with images
  • Converting images with background colors
  • Converting images for blackboard
  • ...

EDIT:
Bestes Pattern:
https://en.wikipedia.org/wiki/Command_pattern

Commands:

- whitebrush [options...] <files...>
Default command. Converts the given files and folders (with 1 deepness) and generates files appends _brushed before the extension.
- whitebrush --recursive (-r)
Converts the given files and folders (with endless deepness).
- whitebrush --convert (-c)
Replaces all files instead of adding the default _brushed name.
-whitebrush --mask (-m) <{name}mybrushedimage{extension}>
Changes the default added _brushed to the given text which isn't the placeholder {name} and extension.
-whitebrush --background(-b) < HTML ColorCode>
Converts the background to the given color code.
-whitebrush --forground(-f) < HTML ColorCode>
Converts the forground to the given color code.
-whitebrush --template (-t) <blackboard/whiteboard/note>
Converts the forground and background to the color code templates.
whitebrush --help (-h)
Displays the help page.

Requirements:

  • All options should be specifiable in one command
  • When using background or forground changes the last specified parameter should be used
@Shynixn Shynixn added the enhancement New feature or request label May 4, 2018
@lukasbindreiter lukasbindreiter added this to To do in Development May 4, 2018
@Shynixn Shynixn assigned Shynixn and unassigned Shynixn May 4, 2018
@Shynixn Shynixn moved this from To do to In progress in Development May 7, 2018
Shynixn added a commit that referenced this issue May 10, 2018
@Shynixn Shynixn moved this from In progress to Done in Development May 10, 2018
@Shynixn Shynixn moved this from Done to Master / Merged in Development May 10, 2018
@Shynixn Shynixn closed this as completed May 10, 2018
Development automation moved this from Master / Merged to Done May 10, 2018
lukasbindreiter pushed a commit that referenced this issue May 10, 2018
@Shynixn Shynixn moved this from Done to Master / Merged in Development May 15, 2018
ghost pushed a commit that referenced this issue May 21, 2018
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
Development
  
Master / Merged
Development

No branches or pull requests

1 participant