axon fork
Clone a published artifact under a name you own, ready to change and publish.
axon fork @axon/github --as @me/github
axon fork @axon/github --as @me/github ./tools
Downloads the source, rewrites its package identity to the name you gave, and leaves you a
project you can prepare and publish as your own.
fork vs clone
axon clone gives you the artifact as it is — same name, same
scope. It is for reading the source, or for running a modified copy locally.
fork gives you the artifact as yours. The rename is the whole difference, and it is
the part that is tedious and easy to half-finish by hand: publishing a clone would fail on
a scope you do not own, and fixing that means editing the manifest, the config and every
internal reference.
axon fork @axon/github --as @me/github
cd github
axon prepare
axon publish
--as must be a scope you own — the same one axon login
authenticated. A second positional argument, or --dir, sets where it lands; the default
is a folder named after the artifact in your current directory.