Tent.js
DocsBlogReleases

Start with

  • Installationtopic.start
  • The wordstopic.words
  • Plans: how rows are asked fortopic.plans
  • Screen files and stubstopic.screens
  • Tests of an apptopic.tests
Light or dark
  • Getting started
  • Core ideas
  • Data
  • Screens
  • Work
  • Testing
  • Running an app
  • Building on Tent.js

Reference

  • Words
    • action
    • agent
    • allow
    • anyone
    • asset
    • avg
    • backfill
    • between
    • boolean
    • calc
    • caller
    • ceil
    • change
    • choice
    • chunks
    • col
    • command
    • component
    • concat
    • contains
    • count
    • cron
    • date
    • day
    • dayOf
    • del
    • each
    • earlier
    • emit
    • evals
    • event
    • every
    • expect
    • fail
    • file
    • fingerprint
    • floor
    • flow
    • get
    • given
    • incoming
    • input
    • join
    • json
    • judge
    • later
    • least
    • link
    • list
    • lower
    • max
    • message
    • messages
    • min
    • model
    • most
    • noOtherPeople
    • noPersonal
    • now
    • number
    • object
    • optimistic
    • patch
    • post
    • project
      • api
      • backups
      • build
      • cache
      • cli
      • cookies
      • countBy
      • currency
      • describeTo
      • files
      • head
      • history
      • hold
      • hosts
      • html
      • icon
      • identify
      • images
      • languages
      • limits
      • mail
      • mcp
      • onRequest
      • privateHosts
      • publish
      • python
      • redirects
      • release
      • removed
      • roots
      • settings
      • signInPath
      • state
      • title
      • trace
      • trailingSlash
      • unlock
      • uploads
      • vitals
      • was
      • workers
      • zone
    • put
    • python
    • query
    • random
    • range
    • read
    • request
    • role
    • round
    • route
    • s3
    • sameSecret
    • screen
    • secret
    • seed
    • service
    • setting
    • slice
    • start
    • startsWith
    • sum
    • table
    • testApp
    • text
    • token
    • trim
    • upper
    • vector
    • verified
    • where
  • Tags
  • Hooks
  • Handles
  • Adapters
  • Commands
  • Codes
DocsOptions

Option

cli of project

The app's own command line.

Value

{ name, names, login }: the name of the command, a record from a definition to the word of its command, and 'key' to turn the browser's way of login off. Left out, the command is named after the project.

Example

TypeScript
export const shop = project('shop', {
  cli: { name: 'shop', names: { file: 'fetch-file' }, login: 'key' },
})

See also

word.project

On this page

  • Value
  • Example
  • See also
Tent.js
DocsBlogReleasesGitHub
Tent.js
  • Getting started
  • Core ideas
  • Data
  • Screens
  • Work
  • Testing
  • Running an app
  • Building on Tent.js

Reference

  • Words
    • action
    • agent
    • allow
    • anyone
    • asset
    • avg
    • backfill
    • between
    • boolean
    • calc
    • caller
    • ceil
    • change
    • choice
    • chunks
    • col
    • command
    • component
    • concat
    • contains
    • count
    • cron
    • date
    • day
    • dayOf
    • del
    • each
    • earlier
    • emit
    • evals
    • event
    • every
    • expect
    • fail
    • file
    • fingerprint
    • floor
    • flow
    • get
    • given
    • incoming
    • input
    • join
    • json
    • judge
    • later
    • least
    • link
    • list
    • lower
    • max
    • message
    • messages
    • min
    • model
    • most
    • noOtherPeople
    • noPersonal
    • now
    • number
    • object
    • optimistic
    • patch
    • post
    • project
      • api
      • backups
      • build
      • cache
      • cli
      • cookies
      • countBy
      • currency
      • describeTo
      • files
      • head
      • history
      • hold
      • hosts
      • html
      • icon
      • identify
      • images
      • languages
      • limits
      • mail
      • mcp
      • onRequest
      • privateHosts
      • publish
      • python
      • redirects
      • release
      • removed
      • roots
      • settings
      • signInPath
      • state
      • title
      • trace
      • trailingSlash
      • unlock
      • uploads
      • vitals
      • was
      • workers
      • zone
    • put
    • python
    • query
    • random
    • range
    • read
    • request
    • role
    • round
    • route
    • s3
    • sameSecret
    • screen
    • secret
    • seed
    • service
    • setting
    • slice
    • start
    • startsWith
    • sum
    • table
    • testApp
    • text
    • token
    • trim
    • upper
    • vector
    • verified
    • where
  • Tags
  • Hooks
  • Handles
  • Adapters
  • Commands
  • Codes