easifemGO
The easiest and recommended way to use the easifem library is through easifem
command line interface application. easifem
CLI is a go application, which you can download as given below.
easifem
is a CLI (Command Line Interface) for working with
easifem platform. It is written in Go language. It contains
many subcommands which will help user to integrate EASIFEM
with their projects.
The user can perform following actions:
- Read configuration files for easifem
- Install/Uninstall/Reinstall components of easifem
- Run application which uses easifem
Usage:
easifem [flags]
easifem [command]
Installing easifemGO
First download golang on your system by following the instruction given on the official website of go. After that run the following command.
go install github.com/easifem/easifemGO@latest
Available Commands:
Command | Description | Example |
---|---|---|
clean | Remove build and install files of a pkg. | easifem clean base |
dev | Development mode for building easifem components. | easifem dev base |
install | Install a plugin, several plugins, external dependencies. | easifem install base |
lint | Linting easifem project while developing the easifem components. | easifem lint main.F90 |
run | Build and run executable file. | easifem run main.F90 |
test | Build and run executable file. | easifem test main.F90 |
Global flags
Flag | Short flag | Description |
---|---|---|
--config | -c | Configuration file name with extension (e.g. easifem.toml) |
--env | Current environment name | |
--no-download | Do not download packages | |
--no-run | Only create the binary file and do not run it. | |
--quiet | -q | Run commands in quiet mode. |
--help | -h | Help for easifem |
Use easifem [command] --help
for more information about a command.
Getting the configuration files
To configure easifem and to get snippets it is better to clone the git repository from github.com/easifem/config
to $HOME/.config/easifem
by using following.
git clone https://github.com/easifem/config.git ~/.config/easifem
You can read more more about the configuration files here.