2.0.4 • Published 11 months ago
@heroku-cli/color v2.0.4
Heroku CLI Color
heroku-cli-color is a command-line interface (CLI) tool for Heroku, a cloud platform for building, deploying, and managing applications. The project provides custom color options for the Heroku CLI using the chalk module.
Installation
- Clone the repository:
git clone https://github.com/heroku/heroku-cli-color.git
- Install dependencies:
yarn install
- Build the project:
yarn build
Usage
- See example below
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b my-branch-name
- Make your changes and commit them:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-branch-name
- Submit a pull request
Example
import { color } from './color';
console.log(color.attachment('This text is in cyan.'));
console.log(color.addon('This text is in yellow.'));
console.log(color.configVar('This text is in green.'));
console.log(color.release('This text is in blue and bold.'));
console.log(color.cmd('This text is in cyan and bold.'));
console.log(color.pipeline('This text is in green and bold.'));
console.log(color.app('This text is in magenta and prefixed with "⬢".'));
console.log(color.heroku('This text is in magenta.'));
const coloredText = color.app('My App');
console.log(`Welcome to ${coloredText}!`);
2.0.3
1 year ago
2.0.2
1 year ago
2.0.4
11 months ago
2.0.1
1 year ago
2.0.0
1 year ago
1.1.16
3 years ago
1.1.15
3 years ago
1.1.14
7 years ago
1.1.13
7 years ago
1.1.12
7 years ago
1.1.11
7 years ago
1.1.10
7 years ago
1.1.9
7 years ago
1.1.8
7 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.5
7 years ago
1.0.4
8 years ago
1.0.3
8 years ago