Giter Site home page Giter Site logo

pkosiec / terminer Goto Github PK

View Code? Open in Web Editor NEW
28.0 1.0 1.0 1.65 MB

Upgrade your terminal experience with a single command.

License: MIT License

Shell 18.39% Go 80.18% Dockerfile 0.52% Makefile 0.91%
terminal installation command-line command-line-tool cli zsh fish shell shell-prompt prompt

terminer's Issues

Add Readme badges

Add the following badges:

  • Codecov
  • Goreport
  • Travis CI
  • Github Release
  • GolangCI (if there is any) - nope, there is no badge.

Download recipes without specifying full path

Add an ability to provide as an argument recipe in an easy form, like fish-shell, without need to specify an exact recipe path for current OS.

  • Construct path, when there is only the recipe name provided (for example: fish-shell should point to pkosiec/terminer@master/recipes/fish-shell and run recipe for current OS
  • Reorganize recipes (one directory with recipe name, for example: fish-shell)
  • Load recipe according to OS (based on filename in recipe directory)

Allow templating in recipes

Recipes for different platforms usually have similar parts. It would be great to allow Go templating in the yaml files. At the moment including other files is all what is needed.

Migrate to Github Actions

As Travis open source free plan has been removed recently, this repository should be migrated to GitHub Actions.

Add step types

  • Define generic step types
  • Add ability to select, which steps should be executed, and which not

Example

Imagine that user wants to install Fish shell with all plugins, but (s)he doesn't want to set is as default shell. He could be able to exclude somehow the last step, which has type like "SET_DEFAULT" defined.

- name: "Set as default shell"
  type: OPTIONAL
  steps:
  - cmd: "chsh -s $(which fish)"
    rollback: "chsh -s $(which bash)"

There could be for example a toggle --ignore-optional to ignore optional steps.

Improve CLI message display

  • Find pretty CLI library
  • Refactor printer to show friendly messages
  • Show description and read more URL for stages and steps
  • Print pretty errors
  • Use colors and font styles
  • Show output in real time
  • Use spinner

Instalation on fresh mac cannot be finished

I got fresh mac installation and I had to change following thing, so as to install terminer:

  • Add sudo to download command:
    curl -sfL https://raw.githubusercontent.com/pkosiec/terminer/master/install.sh | sh -s -- -b /usr/local/bin ->
    curl -sfL https://raw.githubusercontent.com/pkosiec/terminer/master/install.sh | sudo sh -s -- -b /usr/local/bin.

After installing zsh, by using command terminer install zsh-starter, I got messages env: python2: No such file or directory on console. So I had to set:

  • link python after entering zsh. I commited: sudo ln -sf /usr/bin/python2.7 /usr/local/bin/python2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.