GithubHelp home page GithubHelp logo

xenowaza / advanced-rust-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfredodeza/advanced-rust-cli

0.0 0.0 0.0 39 KB

Create advanced Rust CLIs using examples

License: MIT License

Rust 81.41% Dockerfile 18.59%

advanced-rust-cli's Introduction

Coursera Course

Advanced Rust CLI Example

A small Rust CLI example you can use to build on. With an emphasis on Linux and creating automation tools that solve a problem for you. This is the basis for DevOps principles that you can apply in your own environment as well as production environments for automating tasks and making your an efficient engineer.

This repository is Codespaces ready, and it is set as a template repository. You can create a new repository from this template and start working on your own with Codespaces. This means that Rust, Copilot, and all the extensions are already installed and configured for you.

๐Ÿ’ก Are you just looking for a ๐Ÿ‘‰ Rust template to get started easily with a project? The template has everything you need!

This repository is part of the Python and Rust CLI tools course:

๐Ÿš€ Watch the Video course

O'Reilly

Contents

This week has several examples located in the ./examples directory. Make sure you have Rust installed and you are using Visual Studio Code.

This repository is Codespaces ready, and it is set as a template repository. You can create a new repository from this template and start working on your own with Codespaces. This means that Rust, Copilot, and all the extensions are already installed and configured for you.

These are all the tools and editor extensions recommended for Python development:

Lesson 1: Developing comples Command-line tools

Lesson 2: Packaging and distributing your tool

Lesson 3: Logging and error handling strategies

Lesson 4: Practice Lab

Use the included practice lab to apply the content you've learned in this week. Follow the steps to create your own repository and apply the requirements to complete the lab.

Course recommendations

This repository and video course focuses on the development side of command-line tools in Rust. It uses Visual Studio Code as the editor of choice. You can use any editor you like, but the instructions in this repository will be for VS Code.

These are all the tools and editor extensions I recommend you install to get started:

As part of your development workflow, I highly suggest you use the following programs in the terminal regularly:

  • cargo fmt - Formats your code to the Rust standard
  • cargo clippy - Lints your code and helps you find errors and potential issues
  • cargo check - Checks your code for errors and allows you to fix them before compiling (which means its faster!)

Resources

Explore additional content that you can use to learn more about the topics covered in this course.

Coursera Courses

O'Reilly Courses and Books

advanced-rust-cli's People

Contributors

alfredodeza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.