zlin / wgetpaste

MIT License
34 stars 18 forks source link

Arg parse priority + -A/--ansi arg #46

Closed xxc3nsoredxx closed 1 year ago

xxc3nsoredxx commented 1 year ago

Change the arg parsing priority to read config files before CLI args.

Add a -A/--ansi arg to not do ANSI stripping. Mainly useful if a config file has NOANSI set to be able to override this and include ANSI codes in a paste.

Cogitri commented 1 year ago

Thanks!