From fa8f604afc97c1405dd2cc862619a7503eab04fb Mon Sep 17 00:00:00 2001 From: Dexoron Date: Sun, 5 Jul 2026 17:36:45 +0800 Subject: [PATCH] New translations project-commands.mdx (Polish) [ci skip] --- .../docs/commands/project-commands.mdx.mdx | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs-crowdin-export/pl-PL/docs/commands/project-commands.mdx.mdx diff --git a/docs-crowdin-export/pl-PL/docs/commands/project-commands.mdx.mdx b/docs-crowdin-export/pl-PL/docs/commands/project-commands.mdx.mdx new file mode 100644 index 0000000..5258c44 --- /dev/null +++ b/docs-crowdin-export/pl-PL/docs/commands/project-commands.mdx.mdx @@ -0,0 +1,31 @@ +--- +sidebar_label: Project commands (new, init) +--- + +# Project Commands + +## `dcr new \` + +Creates a new project with a standard structure and `dcr.toml`. The `name` argument is required. + +Only ASCII letters, digits, underscores `_` and hyphens `-` are allowed in the project name. + +```bash +dcr new my-app +``` + +Generates: + +* `dcr.toml` with basic fields +* `src/main.c` with a `main` template + +## `dcr init` + +Initializes a DCR project in the current (empty) directory. + +```bash +mkdir app && cd app +dcr init +``` + +The project name is taken from the current directory name. The directory name must follow the same naming rules as `dcr new`.