TELA-CLI Command Reference
Complete alphabetical reference for all TELA-CLI commands.
Quick Access: Press Ctrl+D at any prompt to return to main menu. Use help to display command list. Use exit or Ctrl+C to quit.
Command Categories
- System Commands - exit, help, info, list
- Network & Connection - endpoint, wallet, balance
- Content Discovery - search (all variants)
- Content Management - clone, serve, shutdown
- Deployment - install-doc, install-index, update-index, rate
- File Operations - file-info, file-shard, file-diff, mv, rm
- Gnomon Indexer - gnomon (all subcommands)
- MOD Operations - mods, mod-info, set-var, delete-var, sc-execute
- Settings - page-size, port-start, max-servers, updates, browser, colors
System Commands
exit / quit
Close TELA-CLI application.
Usage:
» exitAliases: exit, quit, Ctrl+C
help
Display list of available commands.
Usage:
» helpOutput: Complete command list with descriptions
info
Show application information and current settings.
Usage:
» infoDisplays:
- Network and daemon endpoint
- Gnomon status
- Wallet connection status
- Active servers count
- Current settings (page-size, port-start, etc.)
Example Output:
Network: simulator
Endpoint: 127.0.0.1:20000
Gnomon: Online (15,234 blocks indexed)
Wallet: Connected (Height: 15,234)
Active Servers: 3/20
Settings:
- Page Size: 20
- Port Start: 8082
- Max Servers: 20
- Updates: true
- Browser: truelist
List all currently running TELA servers.
Usage:
» listOutput: Server name, SCID, URL, and status for each running server
Example:
Active TELA Servers (3/20):
1. myapp.tela - http://localhost:8082 (SCID: abc123...)
2. explorer.tela - http://localhost:8083 (SCID: def456...)
3. Local: ./project - http://localhost:8084Network & Connection
endpoint
Set or change daemon endpoint connection.
Usage:
# Quick network selection
» endpoint simulator # 127.0.0.1:20000
» endpoint testnet # 127.0.0.1:40402
» endpoint mainnet # 127.0.0.1:10102
» endpoint remote # node.derofoundation.org:11012
# Custom endpoint
» endpoint 192.168.1.100:10102
# Close connection
» endpoint closeNetworks:
- simulator - Local testing with free DERO
- testnet - Test network for safe experimentation
- mainnet - Production network
- remote - Public DERO node (when you don't run local daemon)
wallet
Open or close a DERO wallet file.
Usage:
# Open wallet
» wallet /path/to/wallet.db
Enter wallet password » ****
# Open wallet (with path prompt)
» wallet
Enter wallet file path » /path/to/wallet.db
Enter wallet password » ****
# Close wallet
» wallet closeRequired for: install-doc, install-index, update-index, rate, set-var, delete-var
balance
View connected wallet's balances.
Usage:
» balanceOutput:
Wallet Balance:
DERO: 123.45678
Height: 15,234
Locked: 0.00000Content Discovery
search all
Search all TELA SCIDs in Gnomon database.
Usage:
» search allFilters: Respects min-likes setting
search scid
Search by specific SCID.
Usage:
» search scid abc123def456...
# View SCID variables
» search scid vars abc123def456...Output: Full contract information including DOCs, headers, metadata
search docs
Search TELA-DOC contracts.
Usage:
# All DOCs
» search docs
# DOCs by type
» search docs HTML
» search docs JS
» search docs CSS
» search docs JSON
» search docs MD
» search docs STATICsearch indexes
Search all TELA-INDEX contracts.
Usage:
» search indexesOutput: List of INDEX contracts with metadata
search libs
Search dURLs tagged as libraries (ending in .lib).
Usage:
» search libsOutput: TELA libraries available for reuse
search durl
Search by dURL identifier.
Usage:
» search durl myapp.telasearch author
Search by author address.
Usage:
» search author deto1qy...Output: All content created by that wallet
search key / search value
Search by variable key or value stored in contracts.
Usage:
# Find contracts with specific key
» search key var_meta_category
# Find contracts with specific value
» search value "Productivity"search code
View smart contract code by SCID.
Usage:
» search code abc123def456...Output: Raw smart contract code
search line
Search for specific line of code across all contracts.
Usage:
» search line "Function InitializePrivate"Output: All contracts containing that code line
search ratings
View ratings for a specific SCID.
Usage:
» search ratings abc123def456...
# Filter by height
» search ratings abc123def456... 12345Output: All ratings with addresses and scores
search my
Search your own deployed content (requires wallet).
Usage:
# Your DOCs
» search my docs
» search my docs HTML
# Your INDEXs
» search my indexesNote: min-likes filter does NOT apply to "my" searches
search min-likes
Set minimum rating filter for search results.
Usage:
# Filter high-quality content (70%+ positive ratings)
» search min-likes 70
# Show all content
» search min-likes 0Range: 0-99 (percentage)
search exclude
Manage search exclusion filters.
Usage:
# View current exclusions
» search exclude view
# Add exclusion (excludes SCIDs with "test" in dURL)
» search exclude add test
# Remove exclusion
» search exclude remove test
# Clear all exclusions
» search exclude clearContent Management
clone
Clone TELA content to local files.
Usage:
# Clone latest version
» clone abc123def456...
# Clone specific version/commit
» clone abc123def456...@txid123...Cloned to: datashards/clone/[dURL]/
Example:
» clone abc123...
Cloning: myapp.tela
Files cloned to: datashards/clone/myapp.tela/
- index.html
- style.css
- app.jsserve
Serve TELA content locally.
Usage:
# Serve by SCID
» serve abc123def456...
# Serve local directory (for testing)
» serve local ./my-projectAccess: Opens on http://localhost:[port (opens in a new tab)] (default 8082)
Example:
» serve abc123...
Serving: myapp.tela
URL: http://localhost:8082shutdown
Stop running servers.
Usage:
# Shutdown specific server by name
» shutdown myapp.tela
# Shutdown all servers
» shutdown all
# Shutdown only TELA servers (keeps local)
» shutdown tela
# Shutdown only local directory servers
» shutdown localDeployment
install-doc
Deploy a TELA-DOC smart contract.
Usage:
# Interactive prompts
» install-doc
# With file path
» install-doc ./index.htmlPrompts:
- Confirm password
- Enter DOC file path (if not provided)
- Enter DOC description
- Enter DOC icon
- Enter DOC dURL
- Enter DOC subDir
- Enter DOC install ringsize
- Confirm DOC install
Output: DOC install TXID
Requires: Connected wallet
install-index
Deploy a TELA-INDEX smart contract.
Usage:
# Interactive prompts
» install-index
# With name
» install-index "My TELA App"Prompts:
- Confirm password
- Enter INDEX name (if not provided)
- Enter INDEX description
- Enter INDEX icon
- Enter INDEX dURL
- How many total documents?
- Enter DOC1 SCID, DOC2 SCID, etc.
- Enter INDEX mods (optional)
- Enter INDEX install ringsize
- Confirm INDEX install
Output: INDEX install TXID and SCID
Requires: Connected wallet
update-index
Update an existing TELA-INDEX smart contract.
Usage:
» update-index abc123def456...Prompts:
- Confirm password
- Enter INDEX name (or keep current)
- Enter INDEX description (or keep current)
- Enter INDEX icon (or keep current)
- Enter INDEX dURL (or keep current)
- How many total documents?
- Enter DOC SCIDs
- Add SC TELA-MODs (y/n)
- Enter INDEX update ringsize
- Confirm INDEX update
Output: Update TXID
Requires: Connected wallet (must be contract owner)
Immutability Note: Only INDEX contracts deployed with ringsize 2 can be updated. Anonymous deployments (ringsize > 2) are permanently immutable.
rate
Rate a TELA smart contract.
Usage:
» rate abc123def456...
Enter rating (0-99) » 85
Rating is: 85 Very good (Benevolent)
Confirm rating (y/n) » yRange: 0-99
- 0-9: Do not use → Broken
- 10-49: Major → Minor issues
- 50-69: Average
- 70-89: Good → Very good
- 90-99: Exceptional
Requires: Connected wallet
File Operations
file-info
Get file information and statistics.
Usage:
» file-info ./index.htmlOutput:
File: index.html
Size: 15,234 bytes (14.88 KB)
Lines: 245
Type: HTML
Status: ✅ Under 18KB limit
Recommendation: Consider compression at deploymentfile-shard
Create DocShard files from large source file.
Usage:
» file-shard ./large-file.jsOutput:
Creating DocShards from: large-file.js
Shard size: 17,500 bytes
Created shards:
- large-file-1.js (17,500 bytes)
- large-file-2.js (17,500 bytes)
- large-file-3.js (8,234 bytes)
Total: 3 shardsPurpose: Split files >18KB into multiple deployable pieces
file-construct
Reconstruct original file from DocShard files.
Usage:
» file-construct ./large-file-1.jsOutput:
Constructing from DocShards...
Found 3 matching shards
Reconstructed: large-file.js (43,234 bytes)file-diff
Compare two files line-by-line.
Usage:
» file-diff ./v1/index.html ./v2/index.htmlOutput: Line-by-line differences with additions/deletions highlighted
scid-diff
Compare two smart contracts.
Usage:
» scid-diff abc123... def456...Output: Differences between two deployed contracts
mv
Move files or directories (within clone directory only).
Usage:
» mv source destinationExample:
» mv datashards/clone/old-name datashards/clone/new-nameRestriction: Only works within datashards/clone/ directory
rm
Remove files or directories (within clone directory only).
Usage:
» rm sourceExample:
» rm datashards/clone/old-projectRestriction: Only works within datashards/clone/ directory
Safety: rm only works in clone directory to prevent accidental deletion of system files.
Gnomon Indexer
gnomon start
Start the Gnomon indexer.
Usage:
» gnomon startOutput:
Starting Gnomon indexer...
Syncing blocks...
Indexed: 15,234/15,234 blocks
Gnomon online: [G:▲]Requires: Daemon connection
gnomon stop
Stop the Gnomon indexer.
Usage:
» gnomon stopgnomon resync
Reset and resync Gnomon database.
Usage:
» gnomon resyncAction:
- Stops Gnomon if running
- Deletes database for current network
- Restarts Gnomon with fresh sync
Use When: Database corruption or need fresh index
gnomon add
Manually add SCID(s) to Gnomon database.
Usage:
» gnomon add abc123def456...
# Add multiple (space-separated)
» gnomon add abc123... def456... ghi789...Purpose: Index specific contracts without waiting for full blockchain sync
gnomon clean
Delete Gnomon database for specific network.
Usage:
» gnomon clean simulator
» gnomon clean testnet
» gnomon clean mainnetUse When: Free up disk space or reset network data
MOD Operations
mods
Display available TELA-MOD information.
Usage:
# Show all MODs
» mods
# Show specific MODClass
» mods vs # Variable Store MODs
» mods tx # Transfer MODsOutput: MOD names, tags, descriptions, and functions
mod-info
Get detailed information about a specific MOD.
Usage:
» mod-info vsoo
» mod-info txdwdOutput:
MOD: Owner Only Variable Store
Tag: vsoo
Class: Variable Store (vs)
Description: Allows owner to set and delete custom variables
Functions:
- SetVar(k String, v String)
- DeleteVar(k String)set-var
Set a key/value variable on a smart contract.
Usage:
» set-var abc123def456...
Enter key to store » myKey
Enter value for key "myKey" » myValue
Confirm password » ****Requires:
- Wallet connection
- Contract has Variable Store MOD enabled
- Proper permissions (owner/public depending on MOD)
Example:
# Update app metadata
» set-var your-index-scid
Enter key to store » var_header_name
Enter value » My Updated App Name v2.0delete-var
Delete a variable from smart contract (owner only).
Usage:
» delete-var abc123def456...
Enter key to delete » myKey
Confirm password » ****Requires:
- Wallet connection
- Contract owner
- Variable Store MOD enabled
sc-execute
Execute a custom TELA-MOD smart contract function.
Usage:
» sc-execute FunctionNameAdvanced: For custom MOD functions beyond standard SetVar/DeleteVar
Settings
page-size
Set maximum results per search page.
Usage:
» page-size 20Default: 20 Range: 1-100
port-start
Set starting port for TELA servers.
Usage:
» port-start 8082Default: 8082 Behavior: Servers use sequential ports (8082, 8083, 8084...)
max-servers
Set maximum concurrent TELA servers.
Usage:
» max-servers 20Default: 20 Range: 1-100
updates
Allow or deny updated TELA content when cloning/serving.
Usage:
# Allow updates (serve latest version)
» updates true
# Deny updates (serve original version)
» updates falseDefault: true
Effect:
true: Serves latest commit of INDEX contractsfalse: Serves original version (commit 0)
browser
Auto-open content in default browser when serving.
Usage:
# Enable auto-open
» browser true
# Disable auto-open
» browser falseDefault: true
colors
Enable or disable terminal colors.
Usage:
» colors true # Enable colors
» colors false # Disable colorsDefault: true
Status Indicators
The readline prompt shows real-time status:
[01/02/2006 15:04:05] ⠞⠑⠇⠁ TELA-CLI: [D:▲] [G:▲] [W:1337] [3/20] »| Indicator | Meaning |
|---|---|
D:▲ | Daemon online |
D:▼ | Daemon offline |
G:▲ | Gnomon online |
G:▼ | Gnomon offline |
W:1337 | Wallet height (if connected) |
W:0 | No wallet connected |
3/20 | Active servers / Max servers |
Command Shortcuts
Some commands accept arguments to skip prompts:
# These are equivalent:
» install-doc ./index.html
» install-doc
Enter DOC file path » ./index.html
# These are equivalent:
» install-index "My App"
» install-index
Enter INDEX name » My App
# These are equivalent:
» endpoint simulator
» endpoint
Enter endpoint » simulatorInteractive Mode Tips
Navigation
Ctrl+D- Return to main prompt from any sub-promptCtrl+C- Exit TELA-CLITab- Auto-complete file paths (when prompted)Up/Down Arrows- Command history
Input Helpers
- File paths: Tab completion available
- SCIDs: Paste full 64-character hex string
- Empty input: Press Enter to use defaults (when available)
Best Practices
- Check status first: Use
infoto verify connections - Test locally: Use
serve localbefore deploying - Use simulator: Safe testing environment with free DERO
- Save SCIDs: Note all deployment SCIDs for future reference
- Enable Gnomon: Required for search functionality
Command Flow Examples
Typical Development Session
# 1. Start and configure
tela-cli --simulator --gnomon
» info # Verify connections
# 2. Explore existing content
» search all
» search min-likes 70 # High-quality content
» clone abc123... # Clone interesting app
# 3. Develop locally
» serve local ./my-project # Test in browser
# 4. Deploy to blockchain
» wallet ./dev-wallet.db
» install-doc ./index.html
» install-doc ./style.css
» install-index "My App"
# 5. Test deployment
» serve [new-index-scid]
# 6. Rate and share
» rate [new-index-scid]Content Discovery Session
# Start with indexer
tela-cli --mainnet --gnomon
» gnomon start
# Filter and search
» search min-likes 80 # Exceptional content only
» search libs # Find libraries
» search indexes # Browse applications
# Analyze specific apps
» search scid abc123...
» search scid vars abc123...
» search ratings abc123...
# Clone for study
» clone abc123...
» serve abc123...Related Documentation
Pro Tip: Use help frequently to refresh your memory on available commands. The command list is your quick reference during development!