Crates.io | moto |
lib.rs | moto |
version | 0.2.29 |
source | src |
created_at | 2024-01-15 08:11:35.568358 |
updated_at | 2024-04-06 01:14:50.77714 |
description | moto - motivated automation |
homepage | |
repository | https://github.com/moniverse/moto |
max_upload_size | |
id | 1100159 |
size | 2,404,146 |
:moto is a versatile scripting language and automation tool designed to simplify task automation across various environments and languages. It provides a unified and intuitive syntax for defining tasks, leveraging multiple runtimes, and orchestrating complex workflows.
:shell
runtime. Integrate with the underlying operating system for file manipulation, process management, and system operations.To install :moto, use the following command:
cargo install moto
Here's a brief overview of the :moto language syntax:
let name = "John"
let age = 30
let isMarried = false
let hobbies = ["reading", "coding", "gaming"]
task hello {
echo "Hello, $ENV{USER}!"
}:ps
task greetings_from_dart {
void main() {
print("Hello from Dart");
}
}:dart
task greet_from_rust {
fn main() {
println!("Hello from Rust");
}
}:rust
runtime csharp {
let x = 5;
task run {
$something = @'[:block]'@
$something | Out-File -FilePath "./_.cs" -Encoding UTF8
csc "./_.cs"
./_.exe
}:shell
}:moto
block story {
Once upon a time, there was a small village.
}:text
task read_story {
echo [:story]
}:ps
Contributions to :moto are welcome! If you encounter any issues, have suggestions for improvements, or would like to contribute new features, please open an issue or submit a pull request on the GitHub repository.
Feel free to explore the power and versatility of :moto in your automation and scripting tasks. Happy automating! 🚀