https://github.com/tobua/epic-cli
Useful commands for everyday Web Development.
https://github.com/tobua/epic-cli
Last synced: 2 months ago
JSON representation
Useful commands for everyday Web Development.
- Host: GitHub
- URL: https://github.com/tobua/epic-cli
- Owner: tobua
- Created: 2020-11-04T12:00:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-05T22:13:55.000Z (9 months ago)
- Last Synced: 2024-10-14T02:29:28.136Z (7 months ago)
- Language: TypeScript
- Size: 96.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
# epic-cli
Useful commands for everyday Web Development.
## Usage or Global Installation
```sh
bunx epic-cli update # One time usage to run any script.
bunx epic-cli@latest update # Avoid using cached version.
```For repeated usage it's best to install the package globally and use shortcut aliases.
```sh
bunx epic-cli verify # Verify which script aliases are free before installation.
bun install -g epic-cli
update # Directly run any script.
bun update -g epic-cli # Update globally installed version.
```## Commands
After the installation the following commands can be used from anywhere within the terminal.
```
update
```Update current package dependency versions. This will update all versions with ranges to the latest version. Exactly specified versions or dist tags will be ignored. Add the `--no-install` flag to avoid updating node modules.
```
refresh
```Reinstalls node_modules in current directory. Add `--lock` flag to also remove the `bun.lockb` file first.
```sh
run
```Lists currently available scripts and allows multi-selection of scripts to run.
```sh
commit
```To be used before committing, runs "check", "types" and "test" scripts if available and lists success or failure.
```sh
types
```Check TypeScript using `tsc`. Will list number of files checked, add `--files` to list all relative files except ones from node modules.
```sh
init [name]
```Quickly initialize a new project in the current folder using the parent folder as the default name.
```sh
secret
```Stores and retreives `.env` variables for the current project from iCloud on macOS. Add the `--list` flag to show all currently stored secrets.
```sh
global
```List and update globally installed packages.
```sh
format
```Format `package.json` in current folder.
```sh
files
```List nested files inside current folder in a tree structure.
```sh
workspaces "update"
```Run an arbitrary command passed as the second argument in every workspace of the current project. Use the `--output` flag to show the output when running the command.
```sh
folders "./template/*" "update --no-install"
```Run an arbitrary command passed as the third argument in every folder matched by the glob passed as the second argument. Use the `--output` flag to show the output when running the command.
```sh
ports
```List open commonly used web development ports and close them when selected.