Skip navigation

Tuyen CLI

Download link: Linux or Windows version.

Password generator

Generate a random password.

# Generate a 20 chars length password
tuyen password -l 20
Episerver License switcher

Switch between Episerver License files.

# Use license file for WiFi MAC
tuyen epi-license -n wifi
Azure Static Web App configuration

Configure Azure Static Web App settings

# Insert/Update a route
tuyen `
  swa `
    -p 'swa-input.json' `
    -o 'staticwebapp.config.json' `
    set-route `
      --route '/login' `
      --allowed-roles 'admin,editor'

# Remove a rouote
tuyen `
  swa `
    -p 'swa-input.json' `
    -o 'staticwebapp.config.json' `
    remove-route `
      --route '/login'

# Insert/Update a response overwrite
tuyen `
  swa `
    -p 'swa-input.json' `
    -o 'staticwebapp.config.json' `
    set-response-override `
      --code 404 `
      --rewrite 'notfound.html'