惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
J
Java Code Geeks
有赞技术团队
有赞技术团队
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
Microsoft Security Blog
Microsoft Security Blog
IT之家
IT之家
G
Google Developers Blog
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
腾讯CDC
V
Visual Studio Blog
博客园 - 【当耐特】
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
L
LangChain Blog

Netlify Developers

AI model comparison using Netlify's AI Gateway | Netlify Developers Build an AI agent to automatically process and summarize form submissions | Netlify Developers Build an AI agent to automatically generate relevant images for blog posts | Netlify Developers Prerendering SPA content pages to enable AI agent access | Netlify Developers Identify image optimization opportunities with Netlify Observability | Netlify Developers Fix top 404 page not found errors with Netlify Observability | Netlify Developers Introducing AI Gateway: built-in AI model access on Netlify | Netlify Developers Introducing Observability: your project insights on Netlify | Netlify Developers From first publish to first update with AI agents | Netlify Developers How to use Agent Runners on Netlify | Netlify Developers Add forms to your project with AI + Netlify | Netlify Developers Track Real User Metrics | Netlify Developers Lighthouse performance scores on Netlify | Netlify Developers Review your AI project before you ship | Netlify Developers Using environment variables in AI Projects on Netlify | Netlify Developers Build prototypes and MVPs fast with AI + Netlify | Netlify Developers Pause auto-publishing on Netlify | Netlify Developers Run serverless functions, storage, and more natively in Nuxt dev | Netlify Developers Netlify Office Hours: The AX Arcade challenge | Netlify Developers Netlify Office Hours: Prompting with style | Netlify Developers Netlify Office Hours: RAG Apps with OpenAI + Netlify DB | Netlify Developers How to build a RAG application with Neon, Netlify & OpenAI | Netlify Developers Netlify Office Hours: Netlify DB (powered by Neon) | Netlify Developers Netlify Office Hours: Netlify MCP Server | Netlify Developers Netlify Office Hours: Netlify Vite Plugin | Netlify Developers Building MCPs with Netlify | Netlify Developers Deploying sites from your AI tool | Netlify Developers Adding your domain using Netlify API | Netlify Developers Build a context driven chat bot with Netlify Blob and OpenAI | Netlify Developers Simplify deployments with Netlify’s branch-matching environment variables | Netlify Developers
Increase productivity using the command line alias | Netl...
2024-03-20 · via Netlify Developers

Developers like to joke with us that they often type netflix instead of netlify when using the Netlify CLI.

Play

It’s a common typo, and it’s a bit of a running joke. But it’s also a real problem. Wasting energy in keystrokes is distracting when you’re trying to get work done.

Fortunately, the Netlify CLI has a built-in alias (ntl) that you can use to avoid this problem.

> ntl --help

VERSION

netlify-cli/17.19.5 darwin-arm64 node-v18.17.1

USAGE

$ netlify [COMMAND]

COMMANDS

$ api Run any Netlify API method

$ blobs Manage objects in Netlify Blobs

$ build Build on your local machine

$ completion Generate shell completion script

$ deploy Create a new deploy from the contents of a folder

$ dev Local dev server

$ env Control environment variables for the current site

$ functions Manage netlify functions

$ init Configure continuous deployment for a new or existing site. To create a new site without continuous deployment, use `netlify sites:create`

$ integration Manage Netlify Integrations built with the Netlify SDK

$ link Link a local repo or project folder to an existing site on Netlify

$ login Login to your Netlify account

$ logs Stream logs from your site

$ open Open settings for the site linked to the current folder

$ recipes Create and modify files in a project using pre-defined recipes

$ serve Build the site for production and serve locally. This does not watch the code for changes, so if you need to rebuild your site then you must exit and run `serve` again.

$ sites Handle various site operations

$ status Print status information

$ switch Switch your active Netlify account

$ unlink Unlink a local folder from a Netlify site

$ watch Watch for site deploy to finish

It may seem like a small and silly thing to avoid a few keystrokes. But over the life of a project, keystrokes can add up. A quick mind-and-finger-map from netlify to ntl can make a big difference over time.