Skip to content

Add a new 'empty' output mode #194

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add a new 'empty' output mode #194

wants to merge 1 commit into from

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.
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