Skip to content
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

Problem initializing default value for flag from code #26

Open
marghidanu opened this issue Sep 7, 2020 · 1 comment
Open

Problem initializing default value for flag from code #26

marghidanu opened this issue Sep 7, 2020 · 1 comment

Comments

@marghidanu
Copy link

Doing this in the code:

    define_flag context : String,
      description: "",
      default: Dir.current,
      short: x

Shows up in the terminal like this:

  --context, -x (default: Dir.current)
@Nicolab
Copy link

Nicolab commented Sep 21, 2020

Hello,

Same here. Have you found a solution or a work around?

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

No branches or pull requests

2 participants