This PR reverts #131, and completely removes the main field from the package manifest. We don't actually want to maintain any contract with consumers regarding our command module exports! The CLI itself is the interface. Packages that want to programmatically invoke snaps-cli can use execa or the command line.
This PR reverts #131, and completely removes the
main
field from the package manifest. We don't actually want to maintain any contract with consumers regarding our command module exports! The CLI itself is the interface. Packages that want to programmatically invokesnaps-cli
can useexeca
or the command line.