ForSure Logo
ForSure
CLILanguageDocumentationComponents

Getting Started

IntroductionInstallationQuick StartDownloads

Syntax

Basic SyntaxFile StructureCommentsAttributesImport Directives

AI & Neural Network

OverviewExamplesAdvanced FeaturesTeam UsageAPI Reference

Examples

Basic ExamplesIntermediate ExamplesAdvanced Examples

CLI Reference

CommandsOptionsConfiguration

API Reference

OverviewNode APIProgrammatic Usage

Tools & Extensions

VS Code ExtensionSyntax HighlightingEditor Integrations
ForSure Logo
ForSure

A powerful file structure definition language and CLI tool for developers.

GitHubTwitter

Products

CLI LanguageWeb EditorIDE Extensions

Resources

DocumentationExamplesTemplatesBlog

Company

AboutCareersContactPrivacy Policy

© 2026 ForSure. All rights reserved.

TermsPrivacyCookies
Documentation
v1.2.0

ForSure Documentation

A prompting programming language for describing and documenting file structures in a clear and concise manner.

Getting Started

Learn the basics and get up and running with ForSure quickly.

Installation Guide

Prompting Syntax

Comprehensive guide to ForSure prompting syntax and features.

Learn the syntax

Enhanced CLI & Code Generation

Advanced CLI with component generation, design system tools, and project management.

CLI commands

Neural Network

Learn about ForSure's AI capabilities that adapt to your coding style.

AI documentation

Introduction

ForSure is a prompting programming language designed to simplify projects by using a flat-file-like structured language/compiler/cli/converter system. It allows you to describe and document file structures in a clear and concise manner, similar to how you would write a Dockerfile for a container.

ForSure uses a simple, human-readable prompting syntax to represent directories, files, and their relationships, making it easy to understand and maintain project structures. Available as both a CLI tool and web application.

Why ForSure?

ForSure was created to solve the problem of documenting and sharing project structures in a standardized way. As a prompting programming language, it helps teams maintain consistency across projects and makes onboarding new developers easier.

Interactive Demo

Try ForSure's prompting language right in your browser. Edit the code below and see the generated file structure.

Interactive ForSure Demo

Edit the ForSure code and see the generated file structure

Key Features

Prompting Language

A powerful prompting programming language that mimics the natural file system's hierarchy for intuitive organization.

Comments and Annotations

Offers inline commenting and metadata association for better documentation.

Enhanced CLI Tool

Advanced command-line interface with component generation, design system tools, project management, and automated workflows.

Web Application

Intuitive web interface for creating, managing, and sharing project structures without installing anything.

@import Directives

Facilitates file inclusion for reusable structures across projects.

AI-Enhanced

Leverages artificial intelligence to optimize and enhance your project structures.

Basic Example

Here's a basic example of what a .forsure file looks like:

basic-example.forsure
forsure
root: # Main source code directory - src: - main.js { entry: true } - utils: # Utility scripts - helpers.js - date.js { timezone: "UTC" } # Assets for front-end design - assets: - logo.svg - css: # Style sheets - theme.css # Documentation file - README.md

The example above shows how ForSure's prompting language represents a simple project structure with directories, files, comments, and attributes.

Getting Started

To start using ForSure, follow these steps:

1

Install ForSure

Clone the repository or install via npm to get started with ForSure.

bash
# Install the CLI npm install -g @forsure/cli # Or clone the repository git clone https://github.com/elicharlese/ForSure.git cd ForSure # Setup development environment forsure setup # Initialize a new project forsure init my-project.forsure
View detailed installation instructions
2

Create your first ForSure file

Create a new .forsure file using our prompting language in any text editor.

my-first-project.forsure
forsure
root: - src: - index.js - README.md
Follow the Quick Start guide
3

Generate the file structure

Use the ForSure CLI or web app to generate the file structure from your .forsure file.

bash
# Generate the file structure forsure generate my-first-project.forsure --output ./my-project # Or use the enhanced CLI with more options forsure generate my-first-project.forsure --output ./my-project --typescript --test # Validate your ForSure file forsure validate my-first-project.forsure
Learn more about the CLI
4

Learn the prompting syntax

Explore the ForSure prompting syntax to create more complex file structures.

View the syntax reference

Next Steps

Explore the documentation to learn more about ForSure:

Prompting Syntax
Learn the ForSure prompting syntax in detail
Examples
See ForSure in action with practical examples
CLI Reference
Learn how to use the ForSure command-line interface
Web App Guide
Learn how to use the ForSure web application

Was this page helpful?