The proposed CLI tool for Harness consists of several components working together to provide a seamless onboarding and deployment experience.
- CLI Interface - Onboard, Sail and Shipped !!
- Seamlessly Access all quick action properties of Harness with few steps than ever 🐱💻
- Authentication Module
- Authenticate into your Harness account anywhere in the CLI tool 🌎
- Project Initialization Module
- Initialization of project happens automatically, just say the name you want and done 👍
- Framework Detection Module
- Automatically detects your deployment type for ready to ship
- Don't worry you still have options to choose whatever is in your mind 🧑💻
- Cross platform
- MacOS and Linux ready. 🖥️
To clone and run this application, you'll need Git and Go Lang installed on your computer. From your command line:
-
Download the latest release from the GitHub releases page.
-
Extract the downloaded file to a directory of your choice. It is recommended that you move the extracted file to a folder specified in your system's path for ease of use.
-
If you are using macOS, you can move the harness-upgrade file to the
/usr/local/bin/
directory by running the following command:
mv harness /usr/local/bin/
- Run the
harness
command to verify that the installation was successful.
# Login into your account using API key
$ harness login
# Initialize harness in your project
$ harness init
# Deploy the project
$ harness deploy
# deploy command is a crucial step as this steps does the following :
# - Requests to create a connector or use an existing connector
# - Automatically creates a pipeline
# - Deploys your project into requested server / default Harness server
With.SpringCode.Showcase.mp4
This project is created during the Hackweek'24 at Harness Org