Skip to content

Comments

Add a new 'empty' output mode#194

Merged
matejak merged 1 commit intomasterfrom
no_output
May 18, 2025
Merged

Add a new 'empty' output mode#194
matejak merged 1 commit intomasterfrom
no_output

Conversation

@matejak
Copy link
Owner

@matejak matejak commented May 4, 2025

This output mode doesn't contain any Argbash-generated code. It is suitable for economical storage of Argbash-powered script if one believes to have reliable access to Argbash.

Feedback welcome - most importantly regarding naming, but also other aspects of this functionality.

Fixes: #186
FYI @nea89o

@matejak matejak added this to the 2.11.0 milestone May 4, 2025
@kstrafe
Copy link
Contributor

kstrafe commented May 11, 2025

empty doesn't indicate to me that we excise code generated previously (if we're in a flow such as argbash X -o X). The code generator cog from python-cog lists this in its help:

-x Excise all the generated output without running the generators.

I think that is very clear. Should empty be renamed to something like excise?

@matejak
Copy link
Owner Author

matejak commented May 11, 2025

Thanks, I am looking for exactly those suggestions.

This output mode doesn't contain any Argbash-generated code.
It is suitable for economical storage of Argbash-powered script
if one believes to have reliable access to Argbash.
@matejak matejak merged commit fbb7482 into master May 18, 2025
3 checks passed
@matejak matejak deleted the no_output branch May 20, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Argbash clean command/output type

2 participants