5 unstable releases

Uses old Rust 2015

0.3.1 Sep 26, 2019
0.3.0 Sep 26, 2019
0.2.1 Sep 23, 2018
0.2.0 Sep 22, 2018
0.1.0 Sep 22, 2018

#498 in Build Utils

GPL-3.0 license

16KB
62 lines

Latest version

timpack-cli

A command-line-interface to make my life easier.

How to build

To build the application, you need rust and cargo installed.

Fedora dependencies

sudo dnf install rust cargo

Building the application

cd /path/to/timpack-cli-project
cargo build
cargo run php72 cc list

Installation

The cli is only installable with Rust's Cargo.

cargo install timpack-cli

Make sure you have the cargo bin directory in your PATH.

export PATH=$PATH:$HOME/.cargo/bin

How to use

# Run composer update with default php interpreter
timpack-cli cc update

# Run composer update with php 7.1
timpack-cli php71 cc update

# Run n98-magerun cache:flush with php 7.0
timpack-cli php70 m1 cache:flush

# Run n98-magerun2 cache:flush with php 7.1
timpack-cli php71 m2 setup:upgrade

There are some aliases:

  • cc => composer
  • m1 => n98-magerun
  • m2 => n98-magerun2

Dependencies

~2.5–3.5MB
~74K SLoC