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

Moved to Discussion #434 - json like structure for commands #585

Closed
arunkumar413 opened this issue Jan 9, 2022 · 1 comment
Closed

Moved to Discussion #434 - json like structure for commands #585

arunkumar413 opened this issue Jan 9, 2022 · 1 comment

Comments

@arunkumar413
Copy link

arunkumar413 commented Jan 9, 2022

Describe the solution you'd like?

Hi Team,

Most of the Linux commands don't have a common structure. Each command has its own options and flags. I recommend a JSON like structure for the commands and their options.

For example:


{
    commandName: "ls",
    options: {
      all: true,
      author: true,
      humanReadable: true,
      recursive: true
    }
  }

This JSON like structure should be parsed into the regular Linux commands and executed. We'll have a terminal feature like text editor that takes JSON input, interprets the JSON like structure into regular commands and outputs the result.

This feature would make the documentation, linting, code completion easier. Each command option would be self explanatory and easier to understand.

Note: This wont be a complete replace of the existing command line but just an addition to the existing command line which takes a JSON structure as a command.



### Is your feature request related to a problem? Please describe.

_No response_

### Additional context

_No response_
@elviskahoro
Copy link
Member

We're working on this right! We have some exciting progress updates to share soon. I see that you commented on the discussion, we're actually going to move this there because that's the link we're going to be sending people who have questions and I'd like them to see your proposal.

@elviskahoro elviskahoro changed the title json like structure for commands Moved to Discussion #434 - json like structure for commands Jan 9, 2022
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