Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rpearce/ature
Temperature conversion CLI tool written in Go
https://github.com/rpearce/ature
celsius-to-fahrenheit celsius-to-kelvin fahrenheit-to-celsius fahrenheit-to-kelvin golang kelvin-to-celsius kelvin-to-fahrenheit temperature temperature-converter
Last synced: about 1 month ago
JSON representation
Temperature conversion CLI tool written in Go
- Host: GitHub
- URL: https://github.com/rpearce/ature
- Owner: rpearce
- License: unlicense
- Created: 2022-12-14T07:17:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T08:31:26.000Z (about 2 years ago)
- Last Synced: 2024-12-06T20:14:05.584Z (about 2 months ago)
- Topics: celsius-to-fahrenheit, celsius-to-kelvin, fahrenheit-to-celsius, fahrenheit-to-kelvin, golang, kelvin-to-celsius, kelvin-to-fahrenheit, temperature, temperature-converter
- Language: Go
- Homepage:
- Size: 2.06 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ature
Temperature conversion CLI tool.
_This is a tool for me to learn Go, so you probably shouldn't use this._
## Example
```
λ ature ctof 16
60.8λ ature ktof 273.15
32λ ature ktof 273.15 | xargs ature ftoc | xargs ature ctof
32λ ature ftoc -- -10
-23.333333333333336
```Note that because of unix patterns, if you provide a negative number, you must
first signify the end of command/flag arguments with `--` and then provide the
negative value.## All commands
```
λ ature -h
Convert temperature valuesUsage:
ature [command]Available Commands:
completion Generate the autocompletion script for the specified shell
ctof Convert Celsius to Fahrenheit
ctok Convert Celsius to Kelvin
ftoc Convert Fahrenheit to Celsius
ftok Convert Fahrenheit to Kelvin
help Help about any command
ktoc Convert Kelvin to Celsius
ktof Convert Kelvin to FahrenheitFlags:
-h, --help help for atureUse "ature [command] --help" for more information about a command.
```