main.bend
ezx@1.6.0.0 · 16 lines · 0 definitions
1# ezx: ez, the package manager for Bend 2.
2#
3# main: ez's program, and the entry the hub publishes as ezx. Building this
4# file builds the `ez` binary (`bend main.bend -o ez`), and a plain Bend file
5# that imports it and calls `main` builds the same binary. The program itself
6# is src/ez/main.bend; every module it reaches lives under src/, so the
7# LICENSE beside this file goes along with the package and nothing else sorts
8# before it. ez's ledger library, which reads an ez.toml, is
9# src/ledger/manifest.bend, importable from the package at that path.
10import Base
11import ezx@1.6.0.0/src/ez/main.bend as App
12
13# the ez command line: read the words, run the command they name, and exit
14# as it ends
15def main() -> IO(Unit):
16 App.main()