Nifectl CLI Guide
The Nifectl CLI (Command Line Interface) is a powerful tool designed to help developers and operators manage applications and cloud resources directly from the terminal. It connects seamlessly to the Nife.io platform, allowing you to authenticate, deploy, monitor, and scale your workloads effortlessly.
Overviewβ
With the Nifectl CLI, you can perform essential operations such as:
- Initialize a new application using the
initcommand. - Deploy your app with the
deploycommand. - Monitor deployments and logs using
dashboardandlogs. - Manage resources, regions, clusters, and secrets.
- Check status or resume/suspend applications anytime.
To read more or explore advanced use cases, run the nifectl docs command to open the official documentation.
Usageβ
nifectl [command] [flags]
Available Commandsβ
abtestβ Manage A/B tests on an application.alertsβ View and manage alerts and alert rules.appsβ Manage applications.authβ Manage authentication.bgβ Manage blue-green deployments.builtinsβ View and manage Nifectl deployment built-ins.canaryβ Manage canary deployments.clusterβ Bring Your Own Cluster (BYOC).configβ Manage app configurations.dashboardβ Open Nife Web UI for your app.deployβ Deploy an app to the Nife platform.destroyβ Permanently delete an app.docsβ View Nife documentation.failoverβ Serve an app from your own servers, with nife cloud as backup.helpβ Get help for any command.historyβ List an appβs change history.incidentsβ View and manage SRE incidents.infoβ Show detailed information about an application.initβ Initialize a new application.instanceβ Manage VM instances (hosts).integrationsβ Connect third-party services.listβ List Nife resources.logsβ View application logs.metricsβ View monitoring metrics.monitorβ Monitor live deployment progress.moveβ Move an app to another organization.openβ Open a browser to the deployed application.orgenvβ Manage organisation env sets.orgsβ Manage Nife organizations.platformβ Display Nife platform information.redeployβ Redeploy an existing application with a new image or rebuilt source.regionsβ Manage regions.releasesβ List app releases.restartβ Restart all running instances of an application.resumeβ Resume an application.scaleβ View scaling configuration for an application.shadowβ Manage shadow versions.statusβ Show app status.suspendβ Suspend an application.secretsβ Manage app secrets.versionβ Show version information for Nifectl.volumesβ Manage persistent volumes attached to applications.workloadβ Manage workloads in Nife.
Optionsβ
-t, --access-token string Nife API Access Token
-h, --help Help for nifectl
-j, --json JSON output format
Best Practicesβ
- Regularly update your Nifectl CLI to the latest version for improved features and bug fixes.
- Use
--jsonoutput for easier integration with automation scripts. - Securely manage access tokens and configuration files.
Summaryβ
The Nifectl CLI is the backbone of managing your Nife applications from the command line. With comprehensive command coverageβfrom deployment to monitoringβit enables developers to take full control of hybrid and edge cloud environments efficiently.
Related Resourcesβ
- π Nife Cheatsheets β quick-reference command sheets for Linux, Git, Docker, and Kubernetes
- π οΈ JSON Formatter β pretty-print output from any nifectl command run with
--json