Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

prompt for user input? #88

Closed
Closed

Description

@httpete

IS there any way to execute a prompt or even read varname ?

Activity

  1. skx commented on Feb 10, 2022

    @skx
    Owner

    There is currently no way to prompt the user for input, however reading from environmental variables will work.

    Something like:

    log{
     message => "echo ${FOO}"
    }
    

    Will read the environmental variable FOO if there is not a variable with that name already:

    frodo ~/Repos/github.com/skx/marionette $ FOO=xxx ./marionette log.in 
    2022/02/10 06:10:25 [USER] echo xxx
    
  2. self-assigned this
    on Feb 10, 2022
  3. added
    questionFurther information is requested
    on Feb 11, 2022
  4. added a commit that references this issue on Apr 9, 2022
    ab473c6
  5. added
    enhancementNew feature or request
    primitiveCovers the built-in/primitive functions
    on Apr 9, 2022
  6. added a commit that references this issue on Apr 9, 2022
    fe27b4a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestprimitiveCovers the built-in/primitive functionsquestionFurther information is requested

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址