What it is
A set of options in the config to allow the user to choose whether to set up automatic output generation for their files. This, aside from helping distinguish files in the directory, helps the user track down what options were applied to the image and in what order in order to share it with other users or simply replicate it on other images from just the file name.
Additions
- config options: values such as the ones I used in the example below to determine options for enabling/disabling this feature (which should be false by default) as well as overrides to the default format extensions added.
- flag when false: a flag on the CLI for activating the default momentarily if the user needs it for only one specific use
- flag when true: a flag on the CLI to serve when an exception is needed for the opposite effect
Example
Configuration
OutputAutoFormatting: true
UpscaleFormat: "%s-upscaled"
ConvertFormat: "%s-[theme]"
InvertFormat: "%s-inverted"
Command with config
$ gowall upscale image.png
> image-upscaled.png
Command with exception flag
$ gowall upscale image.png --output-exception
> image.png
Command with format flag
$ gowall upscale image.png --output-format
> image-upscale.png
Possible use for modular case (?)
$ gowall upscale image.png --output-format new-name
> new-name-upscaled.png
Note
Not crucial at all. For all intents and purposes this is purely a QOL feature and should be bottom priority over functional features if even considered.
What it is
A set of options in the config to allow the user to choose whether to set up automatic output generation for their files. This, aside from helping distinguish files in the directory, helps the user track down what options were applied to the image and in what order in order to share it with other users or simply replicate it on other images from just the file name.
Additions
Example
Configuration
Command with config
$ gowall upscale image.png > image-upscaled.pngCommand with exception flag
$ gowall upscale image.png --output-exception > image.pngCommand with format flag
$ gowall upscale image.png --output-format > image-upscale.pngPossible use for modular case (?)
$ gowall upscale image.png --output-format new-name > new-name-upscaled.pngNote
Not crucial at all. For all intents and purposes this is purely a QOL feature and should be bottom priority over functional features if even considered.