/tempscale

A CLI tool that converts temperature scale.

Primary LanguageGoMIT LicenseMIT

Description


Screenshot from 2024-05-18 15-11-30


  • A CLI tool for converting temperature scale.
  • This supports Celsius °C, Fahrenheit °F, Kelvin °K, and Rankine °R scales.


System Design

tempscale-system-design



Local Development

  • Note the root main.go is a symbolic link.
  • Run the following commands.
# Change permission and make it executable.
sudo chmod +x run.sh

# Run the app.
./run.sh


Deployment

# Run the multipass.
sudo systemctl restart snap.multipass.multipassd.service

# Deploy to snap store.
snapcraft login
snapcraft clean
snapcraft --debug
snapcraft push tempscale_<version-number-in-snapcraft-yaml>_amd64.snap --release=stable