The animations of the examples are automatically updated as soon as something changes in PTerm. Here you can see pretty much every feature of PTerm with example code. For an easy start we recommend that you take a look at the (#-examples). To view the official documentation of the latest release, you can go to the automatically generated page of pkg.go.dev This documentation is very technical and includes every method that can be used in PTerm. However, you can easily configure each component with little code, so everyone has the freedom to design their own terminal output. PTerm can be used by without any configuration. PTerm consists of many components, called Printers, which can be used individually or together to generate pretty console output. PTerm uses the ANSI color scheme which is widely used by terminals to ensure consistent colors in different terminal themes.If that's not enough, PTerm can be used to access the full RGB color scheme (16 million colors) in terminals that support TrueColor. However, since a human cannot test everything all the time, we have our own test system with which we currently run 28774automated tests to ensure that PTerm has no bugs. PTerm has a 100% test coverage, which means that every line of code inside PTerm gets tested automaticallyWe test PTerm continuously. Whether it's Windows CMD, macOS iTerm2 or in the backend (for example inside a GitHub Action or other CI systems), PTerm guarantees beautiful output! We take special precautions to ensure that PTerm works on as many operating systems and terminals as possible. All components are similar in design and implement interfaces to simplify mixing individual components together. With many (#-examples) for each individual component, getting started with PTerm is extremely easy. Our first priority is to keep PTerm as easy to use as possible. Which features automatic website generation, automatic deployments, a custom CI-System and much more! ⭐ Main Features Feature If you want to create a CLI tool, make sure to check out our cli-template, Make sure to run this command inside your project, when you're using go modules ? go get /pterm/pterm To make PTerm available in your project, you can run the following command.\ A modern Go framework to make beautiful CLIs
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |