Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 960 Bytes

readme.md

File metadata and controls

61 lines (47 loc) · 960 Bytes

vstask

Run vscode task in command line

install

go install "github.com/ttttmr/vstask"

usage

NAME:
   vstask - Run vscode task in command line

USAGE:
   c [global options] command [command options] [arguments...]

COMMANDS:
   ls       List all task
   run      Run a task by name or index
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)

features

  • task type
    • process
    • shell
  • command options
    • cwd
    • env
    • shell
  • os specific options
    • windows
    • linux
    • mac
  • predefined variables
    • ${cwd}
    • ${defaultBuildTask}
    • ${pathSeparator}
    • ${workspaceFolderBasename}
    • ${workspaceFolder}
  • task depend
    • dependsOn
    • dependsOrder

todo

  • more task type
    • npm
    • ...

references

https://code.visualstudio.com/docs/editor/tasks

https://code.visualstudio.com/docs/editor/variables-reference#_predefined-variables