New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

manuel-js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

manuel-js

A simple tool for editing files in Github, most likely as part of a CI process

latest
Source
npmnpm
Version
0.5.6
Version published
Maintainers
1
Created
Source
Manuel.JS

Manuel.JS

It's not manual, it's Manuel.

Build Status

Manuel makes it easy to script up modifications to yaml or json files on Github, such as during a CI pipeline.

Installation

via npm

$ npm install -g manuel-js

Usage

export GH_TOKEN="<github personal access token with appropriate permissions>"
manuel \
  --org dan-turner \
  --repo manuel-js \
  --branch test \
  --file test/variables.yaml \
  --author Manuel \
  --email no-reply@manuel.fake \
  --message "Update 'example-app'" \
  --path example-app.image \
  --value a98049c7251b6b12785da9666e10e14cd1cfcddc

Supported Formats

Manuel supports both yaml and json, it will guess the format based on the extension of the --file argument or you can specify explicitly with the --format argument.

Configuration

Options can be specified as arguments (as above), or in config files, or a combination of both. Values are merged in the following order precedence, from lowest to highest:

  • <home directory>/.manuel.yml (good place to specify githubToken)
  • <current dir>/.manuel.yml
  • With the config argument --config <path to a .yml>
  • As individual arguments as in the usage example

See .travis.yml for an example of leveraging a mix of config files and CLI arguments.

FAQs

Package last updated on 19 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts