Smos

A comprehensive self-management system

The Smos Calendar Import tool

This tool exists to import your calendar from an external source into Smos.

WARNING: This tool still has error and undefined in many places. It's also likely incorrect in some of the ways that are defined.

It is not ready for unattended use but it is ready to try out.

Reference

Arguments

Usage: smos-calendar-import [--config-file FILEPATH] [--workflow-dir FILEPATH]
                            [--archive-dir FILEPATH] [--projects-dir FILEPATH]
                            [--archived-projects-dir FILEPATH]
                            [--destination FILEPATH] [--source URL] [--debug]
  smos-archive

Available options:
  -h,--help                Show this help text
  --config-file FILEPATH   The config file to use
  --workflow-dir FILEPATH  The workflow directory to use
  --archive-dir FILEPATH   The archive directory to use
  --projects-dir FILEPATH  The projects directory to use
  --archived-projects-dir FILEPATH
                           The archived projects directory to use
  --destination FILEPATH   The destination path within the workflow directory
  --source URL             A source url to import from
  --debug                  Turn on debug output

Environment

Available environment variables:

  SMOS_ARCHIVED_PROJECTS_DIR
                         Archived projects directory
  SMOS_ARCHIVE_DIR
                         Archive directory
  SMOS_CONFIG_FILE
                         Workflow directory
  SMOS_DEBUG             Whether to output debug info
  SMOS_DESTINATION
                         The destination path within the
                         workflow directory
  SMOS_PROJECTS_DIR
                         Projects directory
  SMOS_SOURCE            A source url to import the calendar
                         from. Use flags or a config file to
                         import from multiple sources.
  SMOS_WORKFLOW_DIR
                         Workflow directory

Configuration

# Configuration
workflow-dir: # optional
  # The workflow directory
  <string>
archive-dir: # optional
  # The archive directory
  <string>
projects-dir: # optional
  # The projects directory
  <string>
archived-projects-dir: # optional
  # The archived projects directory
  <string>
calendar: # optional
  # Calendar configuration
  # CalendarImportConfiguration
  destination: # optional
    # The destination path within the workflow directory
    <string>
  sources: # optional
    - # If you are using Google, you want to get the URL that has these labels:
      # "Use this address to access this calendar from other applications without making it public."
      # "Warning: Only share this address with those you trust to see all event details for this calendar."
      # The list of urls to fetch and import
      <string>
  debug: # optional
    # Show the internal structure of every event in its entry's contents.
    <boolean>