Featuresmith Icon
Featuresmith
  • Docs
  • SDK
  • CLI
  • Examples
  • Roadmap
v0.4.0
Documentation

Getting Started

  • Introduction
  • Installation
  • Quick Start
  • Tutorial Notebooks
  • Benchmarks
  • Development Setup
  • Contributing

Core Concepts

  • Architecture Overview
  • Dataset Layer
  • Connectors
  • Profiling Engine
  • Rule Engine
  • Dataset Review Engine
  • ML Readiness Score
  • Target Leakage Detection
  • Dataset Diff Engine
  • Target Column Concept
  • Mental Model & Workflow
  • Interpreting Findings
  • Workflow Cheat Sheet
  • Beginner Glossary

Python SDK

  • load()
  • profile()
  • analyze()
  • review()
  • diff()
  • score()
  • plan()
  • Dataset
  • Data Models
  • Profile Models
  • Rule & Finding Models
  • Review Models
  • Score Models
  • Leakage Models
  • Diff Models
  • Exceptions
  • Plugins

CLI Reference

  • analyze
  • review
  • diff
  • score
  • plan
  • Configuration

Guides

  • CI/CD Integration
  • Custom Rules
  • Writing Plugins

Resources

  • Release Notes
  • FAQ
  • Troubleshooting
DocsGuide

Getting Started

  • Introduction
  • Installation
  • Quick Start
  • Tutorial Notebooks
  • Benchmarks
  • Development Setup
  • Contributing

Core Concepts

  • Architecture Overview
  • Dataset Layer
  • Connectors
  • Profiling Engine
  • Rule Engine
  • Dataset Review Engine
  • ML Readiness Score
  • Target Leakage Detection
  • Dataset Diff Engine
  • Target Column Concept
  • Mental Model & Workflow
  • Interpreting Findings
  • Workflow Cheat Sheet
  • Beginner Glossary

Python SDK

  • load()
  • profile()
  • analyze()
  • review()
  • diff()
  • score()
  • plan()
  • Dataset
  • Data Models
  • Profile Models
  • Rule & Finding Models
  • Review Models
  • Score Models
  • Leakage Models
  • Diff Models
  • Exceptions
  • Plugins

CLI Reference

  • analyze
  • review
  • diff
  • score
  • plan
  • Configuration

Guides

  • CI/CD Integration
  • Custom Rules
  • Writing Plugins

Resources

  • Release Notes
  • FAQ
  • Troubleshooting
HomeDocsfeaturesmith plan

CLI Reference

featuresmith plan

CLI Reference: compile a deterministic Plan from accepted recommendations

Overview

The featuresmith plan command runs a full review of a dataset and then compiles a deterministic Plan from the recommendation IDs you accept via --accept. Run featuresmith review first to see the available recommendations and their IDs, then pass the ones you want in the plan.

Usage

bash
1featuresmith plan <source> [--target COLUMN] [--previous SNAPSHOT] [--accept ID1,ID2] [--format table|json] [--output PATH] [--fail-on info|warning|critical] [--quiet] [--verbose]
FlagDescription
<source>Path to the local tabular dataset (CSV, Excel, or Parquet).
--targetName of the target column in the dataset for leakage evaluation.
--previousPath to a prior snapshot for diff-aware review.
--acceptComma-separated recommendation IDs to accept into the plan.
--formatOutput format: table (default) or json.
--outputPath to save the output report (txt or JSON depending on format).
--fail-onSeverity threshold for CI-gating exit codes, mirrors review (default: critical).
--quietSuppress all standard console report output.
--verboseShow full Python tracebacks on error instead of generic messages.

Examples

bash
1# Review first to see recommendation IDs
2featuresmith review train.csv --target survived
3
4# Compile a plan from accepted recommendations
5featuresmith plan train.csv --target survived --accept rec.quality.missingness.cabin
6
7# Output JSON plan report
8featuresmith plan train.csv --accept rec.quality.missingness.cabin --format json --output plan.json

Exit Codes

  • 0: Success — no plan item meets or exceeds the --fail-on threshold.
  • 1: At least one plan item meets or exceeds the --fail-on threshold (CI gate).
  • 2: Validation or configuration error (for example, an unknown recommendation ID or a missing target column).
  • 3: Source file not found or failed to parse.
  • 4: Unexpected internal error.

Related Documentation

See the SDK equivalent fs.plan() and the review CLI reference featuresmith review.

Explore

  • Quick Start
  • Python SDK
  • CLI Reference
  • Examples
Featuresmith Icon
Featuresmith

Open-source data profiling and validation for Python engineers.

Documentation

  • Introduction
  • Quick Start
  • Python SDK
  • CLI Reference

Community

  • GitHub
  • Discussions
  • Issues
  • Contributing

Project

  • Roadmap
  • Release status
  • Benchmarks
  • Changelog
  • Examples

Legal

  • Apache 2.0 License
  • Code of Conduct
  • Security

© 2026 Featuresmith Contributors. Released under the Apache 2.0 License.

Built by Aditya Gangwani in the open.