Skip to content

Commit

Permalink
Rename to lift
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Aug 28, 2020
1 parent f1411ab commit 02027fd
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build:
rm -rf lib/ dist/
npm pack
rm shift-*.tgz
rm lift-*.tgz
rm lib/*.d.ts
rm lib/*/*.d.ts
npm ci --only=prod
Expand Down
84 changes: 42 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
shift
=====
lift
====



[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/shift.svg)](https://npmjs.org/package/shift)
[![Downloads/week](https://img.shields.io/npm/dw/shift.svg)](https://npmjs.org/package/shift)
[![License](https://img.shields.io/npm/l/shift.svg)](https://github.com/mnapoli/shift/blob/master/package.json)
[![Version](https://img.shields.io/npm/v/lift.svg)](https://npmjs.org/package/lift)
[![Downloads/week](https://img.shields.io/npm/dw/lift.svg)](https://npmjs.org/package/lift)
[![License](https://img.shields.io/npm/l/lift.svg)](https://github.com/mnapoli/lift/blob/master/package.json)

<!-- toc -->
* [Usage](#usage)
Expand All @@ -15,50 +15,50 @@ shift
# Usage
<!-- usage -->
```sh-session
$ npm install -g shift
$ shift COMMAND
$ npm install -g lift
$ lift COMMAND
running command...
$ shift (-v|--version|version)
shift/0.0.1 darwin-x64 node-v14.7.0
$ shift --help [COMMAND]
$ lift (-v|--version|version)
lift/0.0.1 darwin-x64 node-v14.7.0
$ lift --help [COMMAND]
USAGE
$ shift COMMAND
$ lift COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`shift export`](#shift-export)
* [`shift help [COMMAND]`](#shift-help-command)
* [`shift permissions`](#shift-permissions)
* [`shift remove`](#shift-remove)
* [`shift status`](#shift-status)
* [`shift up`](#shift-up)
* [`shift variables`](#shift-variables)
* [`lift export`](#lift-export)
* [`lift help [COMMAND]`](#lift-help-command)
* [`lift permissions`](#lift-permissions)
* [`lift remove`](#lift-remove)
* [`lift status`](#lift-status)
* [`lift up`](#lift-up)
* [`lift variables`](#lift-variables)

## `shift export`
## `lift export`

export the stack to a YAML CloudFormation template

```
USAGE
$ shift export
$ lift export
EXAMPLE
$ shift export
$ lift export
AWSTemplateFormatVersion: '2010-09-09'
...
```

_See code: [src/commands/export.ts](https://github.com/mnapoli/shift/blob/v0.0.1/src/commands/export.ts)_
_See code: [src/commands/export.ts](https://github.com/mnapoli/lift/blob/v0.0.1/src/commands/export.ts)_

## `shift help [COMMAND]`
## `lift help [COMMAND]`

display help for shift
display help for lift

```
USAGE
$ shift help [COMMAND]
$ lift help [COMMAND]
ARGUMENTS
COMMAND command to show help for
Expand All @@ -69,68 +69,68 @@ OPTIONS

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.0/src/commands/help.ts)_

## `shift permissions`
## `lift permissions`

export the IAM permissions

```
USAGE
$ shift permissions
$ lift permissions
```

_See code: [src/commands/permissions.ts](https://github.com/mnapoli/shift/blob/v0.0.1/src/commands/permissions.ts)_
_See code: [src/commands/permissions.ts](https://github.com/mnapoli/lift/blob/v0.0.1/src/commands/permissions.ts)_

## `shift remove`
## `lift remove`

delete the deployed stack

```
USAGE
$ shift remove
$ lift remove
OPTIONS
-f, --force force the deletion
EXAMPLE
$ shift delete
$ lift delete
Stack deleted.
```

_See code: [src/commands/remove.ts](https://github.com/mnapoli/shift/blob/v0.0.1/src/commands/remove.ts)_
_See code: [src/commands/remove.ts](https://github.com/mnapoli/lift/blob/v0.0.1/src/commands/remove.ts)_

## `shift status`
## `lift status`

Status of the stack

```
USAGE
$ shift status
$ lift status
EXAMPLE
$ shift status
$ lift status
```

_See code: [src/commands/status.ts](https://github.com/mnapoli/shift/blob/v0.0.1/src/commands/status.ts)_
_See code: [src/commands/status.ts](https://github.com/mnapoli/lift/blob/v0.0.1/src/commands/status.ts)_

## `shift up`
## `lift up`

deploy the stack

```
USAGE
$ shift up
$ lift up
```

_See code: [src/commands/up.ts](https://github.com/mnapoli/shift/blob/v0.0.1/src/commands/up.ts)_
_See code: [src/commands/up.ts](https://github.com/mnapoli/lift/blob/v0.0.1/src/commands/up.ts)_

## `shift variables`
## `lift variables`

export the environment variables

```
USAGE
$ shift variables
$ lift variables
```

_See code: [src/commands/variables.ts](https://github.com/mnapoli/shift/blob/v0.0.1/src/commands/variables.ts)_
_See code: [src/commands/variables.ts](https://github.com/mnapoli/lift/blob/v0.0.1/src/commands/variables.ts)_
<!-- commandsstop -->
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "shift",
"name": "lift",
"version": "0.0.1",
"author": "Matthieu Napoli @mnapoli",
"bin": {
"shift": "./bin/run"
"lift": "./bin/run"
},
"dependencies": {
"@oclif/command": "^1.8.0",
Expand Down Expand Up @@ -43,20 +43,20 @@
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"homepage": "https://github.com/mnapoli/shift",
"homepage": "https://github.com/mnapoli/lift",
"keywords": [
"oclif"
],
"license": "proprietary",
"main": "lib/index.js",
"oclif": {
"commands": "./lib/commands",
"bin": "shift",
"bin": "lift",
"plugins": [
"@oclif/plugin-help"
]
},
"repository": "mnapoli/shift",
"repository": "mnapoli/lift",
"scripts": {
"postpack": "rm -f oclif.manifest.json",
"posttest": "eslint . --ext .ts --config .eslintrc",
Expand Down
2 changes: 1 addition & 1 deletion src/Deployer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class Deployer {
ChangeSetName: changeSetName,
}).promise();
if (changeSet.Status === 'FAILED') {
const reason = changeSet.StatusReason ? changeSet.StatusReason : 'run "shift status" to learn more';
const reason = changeSet.StatusReason ? changeSet.StatusReason : 'run "lift status" to learn more';
if (reason.includes('The submitted information didn\'t contain changes.')) {
console.log('Nothing to deploy, the stack is up to date 👌');
progress = ora('Cleaning up the change set').start();
Expand Down
2 changes: 1 addition & 1 deletion src/commands/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default class Export extends Command {
static description = 'export the stack to a YAML CloudFormation template'

static examples = [
`$ shift export
`$ lift export
AWSTemplateFormatVersion: '2010-09-09'
...
`,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class Remove extends Command {
static description = 'delete the deployed stack'

static examples = [
`$ shift delete
`$ lift delete
Stack deleted.
`,
]
Expand Down
2 changes: 1 addition & 1 deletion src/commands/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class Status extends Command {
static description = 'Status of the stack'

static examples = [
`$ shift status
`$ lift status
`,
]

Expand Down

0 comments on commit 02027fd

Please sign in to comment.