<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RudderStack Docs – Rudder CLI Archives</title><link>https://www.rudderstack.com/docs/archive/rudder-cli/</link><description>Recent content in Rudder CLI Archives on RudderStack Docs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="https://www.rudderstack.com/docs/archive/rudder-cli/index.xml" rel="self" type="application/rss+xml"/><item><title>Archive: Rudder CLI v0.1</title><link>https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/</guid><description>
&lt;blockquote class="announcement">
&lt;div class="tip-quote">
&lt;img src=https://www.rudderstack.com/docs/docs/images/announcement.svg loading="lazy" alt="announcement" decoding="async" class="img__small" style="margin-top: 3px; width: 20px;height: 16px;" />
&lt;div class="tip-text">&lt;p>This feature is in &lt;strong>Alpha&lt;/strong> as part of RudderStack&amp;rsquo;s &lt;a href="https://www.rudderstack.com/docs/get-started/alpha-and-beta-features/alpha-features/" >Early Access Program&lt;/a>, where we work with early users and customers to test new features and get feedback before making them generally available. Note that these features are functional but can change as we improve them.&lt;/p>
&lt;p>Make sure to &lt;a href="mailto:support@rudderstack.com" >contact&lt;/a> the RudderStack team before using them in production.&lt;/p>
&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;p>The Rudder CLI tool lets you manage multiple RudderStack resources as code, including &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/data-catalog-and-tracking-plans/" >Tracking Plans and Data Catalog&lt;/a> and &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/sql-models/" >SQL models for Reverse ETL&lt;/a>. It provides a complete command-line interface for working with your YAML-defined configurations, enabling Git-based workflows for collaboration and version control.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="key-features" data-heading="Key features" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/" data-title="Rudder CLI v0.1" -->
&lt;h2 id="key-features">Key features&lt;/h2>&lt;p>This section highlights the key Rudder CLI features in terms of its core capabilities and usability.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="core-capabilities" data-heading="Core capabilities" data-level="3" data-permalink="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/" data-title="Rudder CLI v0.1" -->
&lt;h3 id="core-capabilities">Core capabilities&lt;/h3>&lt;ul>
&lt;li>&lt;strong>Initialize and configure&lt;/strong>: Set up your &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/data-catalog-and-tracking-plans/tracking-plans/" >Tracking Plan project structure&lt;/a> with the necessary YAML templates.&lt;/li>
&lt;li>&lt;strong>Create, update, and delete&lt;/strong>: Manage Data Catalog, Tracking Plan, and SQL model resources directly from your terminal.&lt;/li>
&lt;li>&lt;strong>Bi-directional management&lt;/strong>: Create new resources from CLI or import existing resources from your workspace into Git.&lt;/li>
&lt;li>&lt;strong>Validation and preview&lt;/strong>: Verify your YAML configurations locally, validate SQL syntax, and preview query results before pushing changes to production.&lt;/li>
&lt;li>&lt;strong>Remote synchronization&lt;/strong>: Maintain consistency between your local files and your RudderStack workspace.&lt;/li>
&lt;/ul>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="supported-resource-types" data-heading="Supported resource types" data-level="3" data-permalink="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/" data-title="Rudder CLI v0.1" -->
&lt;h3 id="supported-resource-types">Supported resource types&lt;/h3>&lt;p>The Rudder CLI tool manages different types of resources through YAML configurations:&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="data-governance" data-heading="Data governance" data-level="3" data-permalink="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/" data-title="Rudder CLI v0.1" -->
&lt;h3 id="data-governance">Data governance&lt;/h3>&lt;ul>
&lt;li>&lt;strong>Event definitions&lt;/strong>: Your events with names, descriptions, and categories&lt;/li>
&lt;li>&lt;strong>Property definitions&lt;/strong>: Reusable properties with &lt;a href="https://www.rudderstack.com/docs/data-governance/data-catalog/properties/#advanced-rules" >validation rules&lt;/a> like minimum/maximum length, patterns, enums, etc.&lt;/li>
&lt;li>&lt;strong>Tracking plan rules&lt;/strong>: Associations between events and their required properties&lt;/li>
&lt;li>&lt;strong>Cross-references&lt;/strong>: Reuse properties across multiple events using the path reference system&lt;/li>
&lt;/ul>
&lt;p>See &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/data-catalog-and-tracking-plans/" >CLI-based Data Catalog and Tracking Plan Management&lt;/a> for more details.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="sql-models" data-heading="SQL models" data-level="3" data-permalink="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/" data-title="Rudder CLI v0.1" -->
&lt;h3 id="sql-models">SQL models&lt;/h3>&lt;ul>
&lt;li>&lt;strong>SQL model definitions&lt;/strong>: &lt;a href="https://www.rudderstack.com/docs/data-pipelines/reverse-etl/features/models/" >Reverse ETL SQL model sources&lt;/a> with query logic, primary keys, and warehouse connections&lt;/li>
&lt;li>&lt;strong>External SQL files&lt;/strong>: Reference external &lt;code>.sql&lt;/code> files or define queries inline in YAML&lt;/li>
&lt;li>&lt;strong>Import existing resources&lt;/strong>: Import existing SQL model resources from your workspace into Git&lt;/li>
&lt;/ul>
&lt;p>See &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/sql-models/" >Manage SQL Models using Rudder CLI&lt;/a> for more details.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="event-stream-sources" data-heading="Event Stream sources" data-level="3" data-permalink="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/" data-title="Rudder CLI v0.1" -->
&lt;h3 id="event-stream-sources">Event Stream sources&lt;/h3>&lt;ul>
&lt;li>&lt;strong>Event Stream source definitions&lt;/strong>: &lt;a href="https://www.rudderstack.com/docs/sources/event-streams/" >Event Stream sources&lt;/a> with source type, name, and enabled status&lt;/li>
&lt;li>&lt;strong>Governance validation settings&lt;/strong>: Associate &lt;a href="https://www.rudderstack.com/docs/data-governance/tracking-plans/" >Tracking Plans&lt;/a> with sources for data governance&lt;/li>
&lt;li>&lt;strong>Violation handling rules&lt;/strong>: Control violation handling behavior for different event types (&lt;code>track&lt;/code>, &lt;code>identify&lt;/code>, &lt;code>group&lt;/code>, &lt;code>page&lt;/code>, &lt;code>screen&lt;/code>) through granular configuration options&lt;/li>
&lt;/ul>
&lt;p>See &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/event-stream-sources/" >Manage Event Stream Sources using Rudder CLI&lt;/a> for more details.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="cicd-integration" data-heading="CI/CD integration" data-level="3" data-permalink="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/" data-title="Rudder CLI v0.1" -->
&lt;h3 id="cicd-integration">CI/CD integration&lt;/h3>&lt;ul>
&lt;li>&lt;strong>GitHub Actions support&lt;/strong>: Integrate validation and deployment steps in your GitHub workflows.&lt;/li>
&lt;li>&lt;strong>Automated validation&lt;/strong>: Run configuration checks as part of your CI pipeline.&lt;/li>
&lt;li>&lt;strong>Deployment automation&lt;/strong>: Push validated Tracking Plans to production.&lt;/li>
&lt;/ul>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="get-started" data-heading="Get started" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/" data-title="Rudder CLI v0.1" -->
&lt;h2 id="get-started">Get started&lt;/h2>&lt;p>Choose your workflow based on the resources you want to manage:&lt;/p>
&lt;nav>
&lt;div class="nav nav-tabs" id="nav-tab" role="tablist">
&lt;a class="nav-item nav-link active "
id="nav-cdaebf" data-toggle="tab" href="#cdaebf"
role="tab" aria-controls="nav-home" aria-selected="true">Tracking Plans and Data Catalog&lt;/a>
&lt;a class="nav-item nav-link "
id="nav-dcbeaf" data-toggle="tab" href="#dcbeaf"
role="tab" aria-controls="nav-home" aria-selected="true">SQL Models&lt;/a>
&lt;a class="nav-item nav-link "
id="nav-fdcbae" data-toggle="tab" href="#fdcbae"
role="tab" aria-controls="nav-home" aria-selected="true">Event Stream Sources&lt;/a>
&lt;/div>
&lt;/nav>
&lt;div class="tab-content" id="nav-tab-content">
&lt;div class="tab-pane fade show active " id="cdaebf" role="tabpanel" aria-labelledby="nav-1">
&lt;ol>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/installation/" >Install the Rudder CLI tool&lt;/a> in your preferred environment.&lt;/li>
&lt;li>Authenticate the tool and configure access to your RudderStack workspace by creating a &lt;a href="https://www.rudderstack.com/docs/access-management/service-access-tokens/#workspace-sat" >workspace-level Service Access Token&lt;/a> with the &lt;a href="https://www.rudderstack.com/docs/access-management/policies-overview/#resource-permissions" >relevant permissions&lt;/a> to manage Data Catalog and Tracking Plans.&lt;/li>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/data-catalog-and-tracking-plans/tracking-plans/" >Initialize a new Tracking Plan project&lt;/a> with &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/yaml-data-catalog-and-tracking-plans/" >YAML definitions&lt;/a>. Then, sync the changes to your workspace.&lt;/li>
&lt;li>Automate Tracking Plan management using &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/github-actions/" >GitHub Actions&lt;/a>.&lt;/li>
&lt;/ol>
&lt;p>See &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/data-catalog-and-tracking-plans/" >CLI-based Data Catalog and Tracking Plan Management&lt;/a> for more details.
&lt;/div>
&lt;div class="tab-pane fade show " id="dcbeaf" role="tabpanel" aria-labelledby="nav-1">
&lt;ol>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/installation/" >Install the Rudder CLI tool&lt;/a> in your preferred environment.&lt;/li>
&lt;li>Authenticate the tool and configure access to your RudderStack workspace by creating a &lt;a href="https://www.rudderstack.com/docs/access-management/service-access-tokens/#workspace-sat" >workspace-level Service Access Token&lt;/a> with the &lt;a href="https://www.rudderstack.com/docs/access-management/policies-overview/#resource-permissions" >relevant permissions&lt;/a> to manage SQL models.&lt;/li>
&lt;li>Set up your project directory and &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/sql-models/create/" >create new SQL model resources&lt;/a> or &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/sql-models/import/" >import existing ones&lt;/a> from your workspace.&lt;/li>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/sql-models/validate/" >Validate and preview&lt;/a> your SQL models before deployment.&lt;/li>
&lt;li>Automate SQL model management using &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/github-actions/" >GitHub Actions&lt;/a>.&lt;/li>
&lt;/ol>
&lt;p>See &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/sql-models/" >Manage SQL Models using Rudder CLI&lt;/a> for more details.
&lt;/div>
&lt;div class="tab-pane fade show " id="fdcbae" role="tabpanel" aria-labelledby="nav-1">
&lt;ol>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/installation/" >Install the Rudder CLI tool&lt;/a> in your preferred environment.&lt;/li>
&lt;li>Authenticate the tool and configure access to your RudderStack workspace by creating a &lt;a href="https://www.rudderstack.com/docs/access-management/service-access-tokens/#workspace-sat" >workspace-level Service Access Token&lt;/a> with the &lt;a href="https://www.rudderstack.com/docs/access-management/policies-overview/#resource-permissions" >relevant permissions&lt;/a> to manage Event Stream sources.&lt;/li>
&lt;li>Follow the &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/event-stream-sources-walkthrough/" >Event Stream Sources Walkthrough&lt;/a> to create sources in your workspace.&lt;/li>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/event-stream-sources-walkthrough/#6-validate-and-deploy" >Validate and deploy&lt;/a> your Event Stream sources before deployment.&lt;/li>
&lt;/ol>
&lt;p>See &lt;a href="https://www.rudderstack.com/docs/archive/rudder-cli/v0.1/event-stream-sources/" >Manage Event Stream Sources using Rudder CLI&lt;/a> for more details.
&lt;/div>
&lt;/div>
&lt;br /></description></item></channel></rss>