@viperlab/cli

An isomorphic API for GitLab supporting browser and Node.js environments.

Usage no npm install needed!

<script type="module">
  import viperlabCli from 'https://cdn.skypack.dev/@viperlab/cli';
</script>

README

ViperLab CLI

npm-version npm-downloads


Install

yarn add @viperlab/cli
npm install @viperlab/cli -g

Usage

Snippets

Required arguments:

  • Personal Access Token / Deploy Token --private-token or --token
  • Project ID --project-id or --pid
  • Snippet Title --title
  • Output file path --output or --out
viperlab-cli snippets --private-token=secret --project-id=406

The file is saved depending on your ViperLab snippet "file name". You may override this by including an optional --output= flag.

viperlab-cli snippets --private-token=secret --project-id=406 --output="other/.env"