Readme

    Loading...

## SIWL.dev

Personal website of @s-inoue0108โ†—.

Built with:

## ๐Ÿ’ฟ GitHub Repo

## ๐ŸŒ System Structure

System Structure

## ๐Ÿ’ป General Commands

### Start local server

The following environment is recommended:

  • Node.js >=v20 && npm v10
  • Yarn v1.22
  • Visual Studio Code v1.96
  • Git v2.40
yarn dev

### Deploy

Execute /.cli/deploy.sh via npm script.

# push to origin/main omit zenn/* and qiita/*
yarn deploy

# push to origin/main and @s-inoue0108/siwl-dev-zenn only zenn/*
yarn deploy --zenn

# push to origin/main and @s-inoue0108/siwl-dev-qiita only qiita/*
yarn deploy --qiita

# push all changes
yarn deploy --all

## ๐Ÿ“‚ Contents Management CLI

Execute /.cli/siwl.ts via npm script. This script is built by Commander.jsโ†—, execute by tsxโ†—.

### Usage

yarn siwl <action> -option <arg>
Tip

yarn can be omitted by setting the alias siwl="yarn siwl" to ~/.bashrc.

### Available actions and options

<action>-option <arg>Description
create|new-f <filename> [-m <model>]Create src/content/<model>/<filename>.(md|yaml) and initialize schema.
remove|rm-f <filename> [-m <model>]Remove src/content/<model>/<filename>.(md|yaml).
draft|dft-f <filename> [-m <model>]Draft src/content/<model>/<filename>.(md|yaml).
publish|pub-f <filename> [-m <model>] [-R] [-L]Publish src/content/<model>/<filename>.(md|yaml) and update timestamp if model is article.
rename|rn-f <filename> -n <newname> [-m <model>]Rename src/content/<model>/<filename>.(md|yaml) to src/content/<model>/<newname>.(md|yaml).
list|ls[-m <model>] [-p|-d]List src/content/<model>/ with status.
open|op-f <filename|readme> [-m <model>]Open src/content/<model>/<filename>.(md|yaml) by Visual Studio Code.
view|vi[-f <filename|readme>] [-l]View specified webpage using browser.
export|ex-f <filename|readme> [-t <mdtype>] [-n <newname>] [-F]Export article with specified markdown type.
-hDisplay help.
-vDisplay version.
Important

Use <action> -h to display help for each actions. Run this command to see the --longoption.

### Available

<model>DescriptionFiletype
articleArticle page for blog.md
tagTag to classify articles.yaml
bookmarkLink to external website.yaml
workMy web work.yaml
Tip

If <model> is unspecified or typo, it refers to article.

## โœ… Markdown Syntax

## ๐Ÿง‘โ€๐Ÿ’ป Zenn Binding

## ๐Ÿง‘โ€๐Ÿ’ป Qiita Binding


ๆœ€็ต‚ๆ›ดๆ–ฐๆ—ฅๆ™‚๏ผš2025/03/27

ๆ›ดๆ–ฐ่€…๏ผšShota Inoue