mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
# Conflicts: # unison-cli-integration/integration-tests/IntegrationTests/transcript.output.md # unison-src/transcripts-round-trip/main.output.md # unison-src/transcripts/add-run.output.md # unison-src/transcripts/bug-strange-closure.output.md # unison-src/transcripts/cycle-update-5.output.md # unison-src/transcripts/delete.output.md # unison-src/transcripts/diff-namespace.output.md # unison-src/transcripts/move-namespace.output.md # unison-src/transcripts/name-selection.output.md # unison-src/transcripts/names.output.md # unison-src/transcripts/namespace-dependencies.output.md # unison-src/transcripts/propagate.output.md # unison-src/transcripts/reflog.output.md # unison-src/transcripts/reset.output.md # unison-src/transcripts/tab-completion.output.md # unison-src/transcripts/transcript-parser-commands.output.md
1.5 KiB
1.5 KiB
delete.project
scratch/main> project.create-empty foo
🎉 I've created the project foo.
🎨 Type `ui` to explore this project's code in your browser.
🔭 Discover libraries at https://share.unison-lang.org
📖 Use `help-topic projects` to learn more about projects.
Write your first Unison code with UCM:
1. Open scratch.u.
2. Write some Unison code and save the file.
3. In UCM, type `add` to save it to your new project.
🎉 🥳 Happy coding!
scratch/main> project.create-empty bar
🎉 I've created the project bar.
🎨 Type `ui` to explore this project's code in your browser.
🔭 Discover libraries at https://share.unison-lang.org
📖 Use `help-topic projects` to learn more about projects.
Write your first Unison code with UCM:
1. Open scratch.u.
2. Write some Unison code and save the file.
3. In UCM, type `add` to save it to your new project.
🎉 🥳 Happy coding!
-- I can delete the project I'm currently on
scratch/main> delete.project scratch
foo/main> projects
1. bar
2. foo
-- I can delete a different project
foo/main> delete.project bar
foo/main> projects
1. foo
-- I can delete the last project, a new scratch project will be created
foo/main> delete.project foo
project/main> projects
1. project
2. scratch
-- If the last project is scratch, a scratch2 project will be created.
scratch/main> delete.project project
scratch/main> delete.project scratch
project/main> projects
1. project
2. scratch2