You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to generate a license text that I can copy/paste to other place, but I accidentally overwrote the LICENSE file of the project where I was in. Maybe just printing the output to stdout might be sufficient?
The text was updated successfully, but these errors were encountered:
eprintln!("Can not write LICENSE file: {}", error);
process::exit(1);
});
Make write_license optional and it can be realized, but I do not know a suitable CLI flag name.
Probably, if a tool generates to stdout by default, it is good the tool has --output flag.
However, license-generator aims to generate LICENSE file.
So, this tool's main purpose is the opposite of that behavior.
Maybe, We need to add --output flag.
Options:
--author input author name
--project input project name that is required by some license
--year input license year
--output path to output. Default: ./LICENSE
I wanted to generate a license text that I can copy/paste to other place, but I accidentally overwrote the LICENSE file of the project where I was in. Maybe just printing the output to stdout might be sufficient?
The text was updated successfully, but these errors were encountered: