Skip to content

Runner configuration : list files in directory #147

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

Closed
csphoenix1 opened this issue Dec 13, 2018 · 3 comments
Closed

Runner configuration : list files in directory #147

csphoenix1 opened this issue Dec 13, 2018 · 3 comments

Comments

@csphoenix1
Copy link
Contributor

csphoenix1 commented Dec 13, 2018

Hi !

On linux, to add a dynamic variable which list the file in a directory, we can do something like that:

 {
  "name": "Command-based list",
  "param": "--var_file",
  "description": "List parameter 2",
  "type": "list",
  "values": {
    "script": "ls /var"
  }
},

But on Windows, what we can use?

Maybe we can create a specific type of variable and also a feature to pass in argument:

  • the filename with or without extension
  • the fullpath with or without extension

What do yo think about it?

@bugy
Copy link
Owner

bugy commented Dec 14, 2018

Hi @csphoenix1, isn't dir command work on windows?
But you are right, I think making explicit parameter type for it would make sense. There is another similar issue for it: #137

I think it would make sense to merge them

@csphoenix1
Copy link
Contributor Author

Hi @bugy ,

Yes dir exist, but unfortunaly, it's like ls -l: there is some information which are not needed like for example the date.

@bugy
Copy link
Owner

bugy commented Dec 28, 2018

Closing the ticket. It will be considered in #137 implementation

@bugy bugy closed this as completed Dec 28, 2018
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