# ftctl

> CLI tool for minimal automation of Drone CD flow using Helm Chart type deployment.

Latest version **1.0.11** (published 2020-02-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install ftctl
pnpm add ftctl
yarn add ftctl
bun add ftctl
```

Provides the command `ftctl`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.11 |
| Published | 2020-02-24 |
| First published | 2020-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 8 |
| Unpacked size | 12.6 KB |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Wilson13 |
| Maintainers | wilson_ft |
| Keywords | oclif |

## Links

- npm: https://www.npmjs.com/package/ftctl
- Repository: https://github.com/Wilson13/ftctl
- Issues: https://github.com/Wilson13/ftctl
- npm.io page: https://npm.io/package/ftctl

## Dependencies (8)

- [tslib](https://npm.io/package/tslib.md) ^1.10.0
- [dotenv](https://npm.io/package/dotenv.md) ^8.2.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.13.1
- [simple-git](https://npm.io/package/simple-git.md) ^1.129.0
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1.13.3
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1.5.19
- [@types/js-yaml](https://npm.io/package/@types/js-yaml.md) ^3.12.1
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^2.2.3

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.11 (latest) — 2020-02-24
- 1.0.10 — 2020-02-17
- 1.0.9 — 2020-02-13
- 1.0.7 — 2020-01-06
- 1.0.6 — 2020-01-06
- 1.0.5 — 2020-01-06
- 1.0.4 — 2020-01-06
- 1.0.3 — 2020-01-06
- 1.0.2 — 2020-01-06
- 1.0.1 — 2020-01-06

## README

# ftctl

CLI tool for minimal automation of Drone CI flow using Helm Chart type deployment.

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

<!-- toc -->
* [ftctl](#ftctl)
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->

# Usage

<!-- usage -->
```sh-session
$ npm install -g ftctl
$ ftctl COMMAND
running command...
$ ftctl (-v|--version|version)
ftctl/1.0.11 darwin-x64 node-v13.8.0
$ ftctl --help [COMMAND]
USAGE
  $ ftctl COMMAND
...
```
<!-- usagestop -->

# Commands

<!-- commands -->
* [`ftctl help [COMMAND]`](#ftctl-help-command)
* [`ftctl release [STRING]`](#ftctl-release-string)

## `ftctl help [COMMAND]`

display help for ftctl

```
USAGE
  $ ftctl help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

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

## `ftctl release [STRING]`

This command updates .drone.yaml docker tag value, helm chart values.yaml (image.tag) and Chart.yaml (appVersion) to be the version provided as argument.

```
USAGE
  $ ftctl release [STRING]

OPTIONS
  -d, --drone=drone      path to .drone.yaml folder
  -f, --file=file        file name of values.yaml
  -h, --help             show CLI help
  -p, --path=path        path to chart's root folder
  -v, --version=version  version to build and release

DESCRIPTION
  This command updates .drone.yaml docker tag value, helm chart values.yaml (image.tag) and Chart.yaml (appVersion) to 
  be the version provided as argument.
     Note: Chart version should be updated manually.

EXAMPLE
  $ ftctl release -v 0.1.0-beta.1 -p <path-to-chart> -f <values.yaml filename> -d ."
  App versioned '0.1.0-beta.1' build and releasing to staging initiated.
```

_See code: [src/commands/release.ts](https://github.com/Wilson13/ftctl/blob/v1.0.11/src/commands/release.ts)_
<!-- commandsstop -->

NOTES

To publish new version, follow these steps:

1. Perform git add, commit, and push.
2. Run `npm version <version>`
3. Run `npm publish`

To update installed ftctl version, run:

    npm update -g ftctl

---
_Source: https://npm.io/package/ftctl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
