Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
marc0s
@marcos@social.tenak.net  ·  activity timestamp 2 months ago

With a combination of my_app eval "EXPR" and https://hexdocs.pm/elixir/Kernel.html#exit/1-cli-exits it’s easy to add functionality to your #elixir application to be run from the CLI in scripts or other automated situations.

I’ve just used them for enabling k8s health checks in an app that lacks any HTTP interface.

#TIL#MyElixirStatus

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login