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

In interactive mode, assume path for command is pwd #94

Closed
mattlqx opened this issue Mar 8, 2021 · 1 comment · Fixed by #95
Closed

In interactive mode, assume path for command is pwd #94

mattlqx opened this issue Mar 8, 2021 · 1 comment · Fixed by #95
Assignees
Labels
enhancement New feature or request

Comments

@mattlqx
Copy link
Collaborator

mattlqx commented Mar 8, 2021

When running as shell, the present working path should be assumed for PATH on commands to make it optional. Today it is a required parameter in all cases.

https://localhost:8200 /src/> grep foo
path is required
recursive searches for a pattern starting at a path
Usage: grep [--regexp] [--keys] [--values] SEARCH PATH

Positional arguments:
  SEARCH
  PATH

Options:
  --regexp, -e           Treat search string as a regexp
  --keys, -k             Match against keys (true if -v is not specified)
  --values, -v           Match against values (true if -k is not specified)
  --help, -h             display this help and exit

https://localhost:8200 /src/> grep foo ./
...
@mattlqx mattlqx added the enhancement New feature or request label Mar 8, 2021
@fishi0x01
Copy link
Owner

fishi0x01 commented Mar 21, 2021

Good idea 👍

I assume this behavior should be implemented for

grep
replace

I will look into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants