Dev
17 posts tagged with "Dev"
console-error
The console-error action a javascript console.error equivalent. It belongs to the debug category within the dev area.
Action Syntax
console-error "text"
console-error $variable
Valid sizes
Examples
// Basic Usage
console-error "message"
// Using Variables
// Display dynamic content from variables
console-error $message
console-info
The console-info action a javascript console.info equivalent. It belongs to the debug category within the dev area.
Action Syntax
console-info "text"
console-info $variable
Valid sizes
Examples
// Basic Usage
console-info "message"
// Using Variables
// Display dynamic content from variables
console-info $message
console-log
The console-log action a javascript console.log equivalent. It belongs to the debug category within the dev area.
Action Syntax
console-log "text"
console-log $variable
Valid sizes
Examples
// Basic Usage
console-log "message"
// Using Variables
// Display dynamic content from variables
console-log $message
console-var
The console-var action prints a variable to the javacript console. It belongs to the debug category within the dev area.
Action Syntax
console-var $variable
Valid sizes
Examples
// Basic Usage
console-var $varname
fake
The fake action fakes items. It belongs to the mock category within the dev area.
Action Syntax
fake address
fake 123 addresses
fake company
fake 123 companies
fake email
fake 123 emails
fake name
fake 123 names
fake line
fake 123 lines
Return Value
This function returns a
fake-date
The fake-date action sets a fake date (for testing). It belongs to the mock category within the dev area.
Action Syntax
fake-date YYYY-MM-DD
fake-date YYYY-MM-DD HH:MM
Valid sizes
Examples
// Basic Usage
fake-date 2024-12-04
fake-table
The fake-table action creates a fake table for testing. It belongs to the mock category within the dev area.
Action Syntax
fake-table 123 rows 123 columns
Return Value
This function returns a
$result = fake-table
Valid sizes
Examples
// Basic Usage
$grp_item = fake-table 10 rows 10 columns
fake-time
The fake-time action sets a fake time (for testing). It belongs to the mock category within the dev area.
Action Syntax
fake-time HH:MM
Valid sizes
Examples
// Basic Usage
fake-time 09:00
noop
The noop action does nothing. just a placeholder action. It belongs to the debug category within the dev area.
Action Syntax
noop
This action takes no parameters and is used as a bare command.
Description: just does nothing
Examples
// Basic Usage
noop
The print action print text to ui for app development and testing. It belongs to the utils category within the undefined area.
Action Syntax
print "text"
print $variable
Examples
// Basic Usage
print "debug output here"
// Using Variables
// Display dynamic content from variables
print $outputtext
print-error
The print-error action prints inline error message. It belongs to the print category within the dev area.
Action Syntax
print-error "text"
print-error $variable
Valid sizes
Examples
// Basic Usage
print-error "message"
// Using Variables
// Display dynamic content from variables
print-error $message
print-header
The print-header action Prints bold header text for debugging and testing. It belongs to the print category within the dev area.
Action Syntax
print-header "text"
print-header $variable
Valid sizes
Examples
// Basic Usage
print-header "debug output here"
// Using Variables
// Display dynamic content from variables
print-header $output-text
test
The test action test action. It belongs to the test category within the dev area.
Action Syntax
test 123 123
Valid sizes
Examples
// Basic Usage
test 10 20
test-owner-auth
The test-owner-auth action tests owner/sb authenticated action end to end. It belongs to the test category within the dev area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Return Value
This function returns a
$result = test-owner-auth
Valid sizes
Examples
// Basic Usage
test-owner-auth
test-server
The test-server action tests a server action. It belongs to the test category within the dev area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Return Value
This function returns a
$result = test-server
Valid sizes
Examples
// Basic Usage
test-server
timer-start
The timer-start action a timer for low level debugging purposes. It belongs to the debug category within the dev area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Valid sizes
Examples
// Basic Usage
timer-start
timer-stop
The timer-stop action a timer for low level debugging purposes. It belongs to the debug category within the dev area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Return Value
This function returns a
$result = timer-stop
Valid sizes
Examples
// Basic Usage
timer-stop