UiPath Documentation
uipath-cli
latest
false
Guia do usuário da UiPath CLI
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

uip solution init

Syntax and options for `uip solution init`, which scaffolds an empty UiPath solution directory with a `.uipx` manifest.

uip solution init scaffolds an empty UiPath solution on disk. It creates a directory named after the solution, writes a .uipx manifest with an empty Projects array, and writes AGENTS.md and CLAUDE.md briefing files that orient AI coding agents to the solution — ready to receive projects via uip solution projects add or uip solution projects import.

Resumo

uip solution init <solutionName>
uip solution init <solutionName>

O comando honra as opções globais e retorna os códigos de saída padrão.

Argumentos

  • <solutionName> (required) — Name or path for the new solution. A directory is created at this location; the .uipx file inside it takes the same base name.

Opções

Nenhuma além das opções globais.

Exemplos

Mínimo

uip solution init my-solution
uip solution init my-solution

Creates ./my-solution/my-solution.uipx, plus ./my-solution/AGENTS.md and ./my-solution/CLAUDE.md.

Script — capture o caminho gerado

uip solution init my-solution --output-filter "Data.Path"
uip solution init my-solution --output-filter "Data.Path"

Combinado com --output json, emite uma única string JSON com o caminho absoluto para o novo .uipx, adequado para canalizar em comandos de acompanhamento.

Formato dos dados (--output json)

{
  "Code": "SolutionInit",
  "Data": {
    "Status": "Created successfully",
    "Path": "/workspace/my-solution/my-solution.uipx",
    "NextSteps": "Read /workspace/my-solution/AGENTS.md or /workspace/my-solution/CLAUDE.md to understand the solution lifecycle, project types that can be used inside a solution, and related uip command references."
  }
}
{
  "Code": "SolutionInit",
  "Data": {
    "Status": "Created successfully",
    "Path": "/workspace/my-solution/my-solution.uipx",
    "NextSteps": "Read /workspace/my-solution/AGENTS.md or /workspace/my-solution/CLAUDE.md to understand the solution lifecycle, project types that can be used inside a solution, and related uip command references."
  }
}

NextSteps points at whichever briefing file the invoking agent (or a human) should read next — it's the same content in both files, written for different coding-agent conventions.

Veja também

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades