0.2.4 • Published 6 months ago

@tdurieux/bash-command-extractor v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Bash Command Extractor

Usage

npm i -g @tdurieux/bash-command-extractor
bash-command-extractor <bash_code>

Example

./bash-command-extractor "sudo apt install git"

[
  {
    "annotations": [
      "SC-SUDO"
    ],
    "command": "sudo",
    "args": []
  },
  {
    "annotations": [
      "SC-APT-INSTALL"
    ],
    "command": "apt",
    "args": [
      {
        "annotations": [],
        "content": "install"
      },
      {
        "annotations": [
          "SC-APT-PACKAGE"
        ],
        "content": "git"
      }
    ]
  }
]
0.2.4

6 months ago

0.2.3

6 months ago

0.2.2

6 months ago

0.2.1

6 months ago

0.2.0

6 months ago

0.1.3

6 months ago

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago

0.0.2

7 months ago

0.0.1

7 months ago