Skip to content

balena-io-experimental/balenaclone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

balenaclone

oclif Version License Maintenance

Dead simple command line utility to clone balenaCloud applications so you don't have to. It's more of a balena.yml file creator for existing applications at this point.

Getting Started

Install & just straight up clone! We will prompt you for the information that's what the CLI is for. Some prerequisites you need to have:

  1. Need to have Node & NPM installed in your system.
  2. Need to have balenaCLI authenticated with your current account from where you would like to clone applications.
npx balenaclone

What will this do?

The CLI uses the inputs you provided to build a balena.yml file that can be used to create clones of your existing balenaCloud applications. This is especially useful in multiple scenarios.

  1. Having multiple replicable environments sharing the same variables and configuration. Such as production, testing, and development applications for your fleet of devices.
  2. Creating Deploy with balena buttons definitely gets easier with this. No more manual work of writing a balena.yml file
  3. Getting your applications up on balenaHub even faster!

Thanks for the utility, what next!

  • Head to dashboard.balena-cloud.com and click the Create Application button.
  • Toggle the Advanced button on there to upload the balena.yml file you just generated and voila we cloned your app! Now go create something awesome!