Skip to content
Interactive Configuration Backup Manager
TypeScript JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
scripts rewrite in typescript Apr 19, 2019
src suppress deprecated headers option Apr 25, 2019
.appveyor.yml rewrite in typescript Apr 19, 2019
.babelrc bump babel, eslint Oct 28, 2018
.editorconfig initial commit Jun 2, 2017
.eslintignore rewrite in typescript Apr 19, 2019
.eslintrc rewrite in typescript Apr 19, 2019
.gitattributes add gitattributes Jun 3, 2017
.gitignore rewrite in typescript Apr 19, 2019
.npmignore update npmignore Apr 25, 2019
.nvmrc misc Apr 20, 2019
.prettierignore
.prettierrc prettier config, add flow-typed Dec 20, 2017
.travis.yml rewrite in typescript Apr 19, 2019
.whitesource Migrate WhiteSource configuration file to json format Jul 11, 2019
LICENSE Initial commit Jun 2, 2017
README.md fix ci build status badge Apr 27, 2019
package-lock.json fix ci build status badge Apr 27, 2019
package.json v0.5.2 Apr 25, 2019
tsconfig.json create declarations Apr 20, 2019

README.md

icbm

CLI tool to manage and backup your configuration files

npm version npm downloads

Build Status Build status

Dependencies Status DevDependencies Status Known Vulnerabilities

Prerequisites

  • node.js >= 8

Installation

  • npm npm install -g icbm
  • yarn yarn global add icbm

Usage

Add Configurations

  • For supported configuration files
icbm add file_name
  • For not supported configuration files
icbm add your_conf_name /path/to/your_conf
  • Configurations currently supported
    • bash_profile ($HOME/.bash_profile)
    • bashrc ($HOME/.bashrc)
    • gitconfig ($HOME/.gitconfig)
    • vimrc ($HOME/.vimrc)
    • zshrc ($HOME/.zshrc)

Remove Configurations

  • This action will remove configuration from icbm and return it to original path. (e.g. remove the symbolic link and return the managed bash_profile to $HOME/.bash_profile)
icbm remove file_name

Upload Configurations

icbm upload

Download Configurations

icbm download

Managing config

  • Set config
icbm config set config_name config_value
  • Get config
icbm config get config_name
  • Get all configs
icbm config get
  • Configurations
    • Repository Type repository.type (Only gist is available now)
    • Gist id repository.gist (You can set using prompt in uploading and downloading)
    • Github Token repository.githubToken (You can set using prompt in uploading. https://github.com/settings/tokens)
    • Create backup on add file.createBackup (.bak file will be created on add. true by default.)

TODO

  • resolve paths in different os and env(like $HOME)
  • multiple repositories to backup configurations
  • node api
  • rewrite in golang(for standalone app)
  • support for other apps (list of formulas like brew list and brew cask list)
You can’t perform that action at this time.