Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
k2on committed Nov 14, 2020
1 parent 2b37bec commit 26c64ed
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 40 deletions.
74 changes: 36 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
All you need is to install is node

```sh
$ yarn add global @nix2/nix-cli
$ npm i -g @nix2/nix-cli
```

## Usage
Expand All @@ -30,40 +30,40 @@ When running the command with no arguments, it will default to `dev info`.

### Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Table of Contents](#table-of-contents)
- [Commands](#commands)
- [Auth](#auth)
- [Init](#init)
- [Info](#info)
- [Make](#make)
- [Database](#database)
- [Auth](#auth-1)
- [List](#list)
- [Create](#create)
- [Link](#link)
- [Schemas](#schemas)
- [List](#list-1)
- [Add](#add)
- [Remove](#remove)
- [Authors](#authors)
- [List](#list-2)
- [Add](#add-1)
- [Remove](#remove-1)
- [Plugins](#plugins)
- [List](#list-3)
- [Remote](#remote)
- [Add](#add-2)
- [Remove](#remove-2)
- [Update](#update)
- [Environment](#environment)
- [List](#list-4)
- [Switch Environments](#switch-environments)
- [Version](#version)
- [Update](#update-1)
- [Cache](#cache)
- [Clear](#clear)
- [Installation](#installation)
- [Usage](#usage)
- [Table of Contents](#table-of-contents)
- [Commands](#commands)
- [Auth](#auth)
- [Init](#init)
- [Info](#info)
- [Make](#make)
- [Database](#database)
- [Auth](#auth-1)
- [List](#list)
- [Create](#create)
- [Link](#link)
- [Schemas](#schemas)
- [List](#list-1)
- [Add](#add)
- [Remove](#remove)
- [Authors](#authors)
- [List](#list-2)
- [Add](#add-1)
- [Remove](#remove-1)
- [Plugins](#plugins)
- [List](#list-3)
- [Add](#add-2)
- [Remove](#remove-2)
- [Update](#update)
- [NPR](#npr)
- [Environment](#environment)
- [List](#list-4)
- [Switch Environments](#switch-environments)
- [Version](#version)
- [Update](#update-1)
- [Cache](#cache)
- [Clear](#clear)

### Commands

Expand Down Expand Up @@ -328,7 +328,6 @@ Plugins were added in version [1.1.0](https://github.com/nix2io/cli/releases/v1.

You can manage plugins with the `plugin` command.


#### List

```sh
Expand Down Expand Up @@ -365,12 +364,11 @@ $ dev plugins update *
✓ Updated graphql
```


#### NPR

The Nix Plugin Registry is the container of all plugin information. Information including names, descriptions, and versions.

The NPR runs on the [npr repository](https://github.com/nix2io/npr). It functions completely with github actions.
The NPR runs on the [npr repository](https://github.com/nix2io/npr). It functions completely with github actions.

### Environment

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nix2/nix-cli",
"version": "1.1.2",
"version": "1.1.3",
"description": "Command line interface for common tasks for Nix2 Infrastructure",
"main": "./dist/index.js",
"repository": "git@github.com:nix2io/cli.git",
Expand Down
2 changes: 1 addition & 1 deletion src/cmds/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default (program: CommanderStatic): void => {
.description('update the cli')
.action(async () => {
const spinner = ora('Updating CLI').start();
await asyncExec(`yarn add global ${PACKAGE_NAME}`).catch((err) => {
await asyncExec(`npm i -g ${PACKAGE_NAME}`).catch((err) => {
spinner.fail(err.message);
});
spinner.succeed('Updated the CLI');
Expand Down

0 comments on commit 26c64ed

Please sign in to comment.