Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tdgroot/timpack-cli
A command-line-interface to make my life easier
https://github.com/tdgroot/timpack-cli
composer magento php rust
Last synced: 17 days ago
JSON representation
A command-line-interface to make my life easier
- Host: GitHub
- URL: https://github.com/tdgroot/timpack-cli
- Owner: tdgroot
- License: gpl-3.0
- Created: 2018-09-22T16:39:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-26T10:49:52.000Z (over 5 years ago)
- Last Synced: 2024-12-05T16:42:09.557Z (about 1 month ago)
- Topics: composer, magento, php, rust
- Language: Rust
- Size: 21.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Latest version](https://img.shields.io/crates/v/timpack-cli.svg)](https://crates.io/crates/timpack-cli)
# 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](https://crates.io/).```
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