Useful command-line tools for Angular projects written in Rust.
Commands:
Use the --help
argument to get more details about the program or specific command:
shell
rung --help
rung <command> --help
Runs a lightweight web server.
Usage:
```shell rung serve [OPTIONS]
OPTIONS:
-h, --host
You can get more details by running the following command:
shell
rung serve --help
Examples:
```shell
rung serve ./dist/app1 -p 8081 ```
Verifies that the JSON file is valid based on the JSON schema.
Usage:
```shell
rung check json --file
OPTIONS:
-f, --file
You can get more details with this command:
shell
rung check json --help
Examples:
shell
run check json \
-f ./assets/json/example.json \
-t ./assets/json/example.schema.json
Verifies that the file(s) header is matching one or multiple templates. Typically, used for license header checks in source code files.
Main features:
Usage:
```shell
rung check header --file
OPTIONS:
-f, --file
You can get more details with this command:
shell
rung check header --help
Examples:
```shell
rung check header \ -f ./assets/files/example-1.ts.txt \ -t ./assets/templates/template-asf.txt \ -t ./assets/templates/template-mit.txt
rung check header \ -f ./assets/files/* \ -t ./assets/templates/* ```
Rung is primarily distributed under the terms of the Apache License (Version 2.0).
See LICENSE for more details.